Re: [Tutor] Python and algorithms

2010-02-19 Thread C.T. Matsumoto
spir wrote: On Thu, 18 Feb 2010 09:11:22 -0500 Kent Johnson wrote: It's true that solving a problem often involves creating an algorithm in a broad sense. The formal study of algorithms studies specific techniques and algorithms that have proven to be useful to solve many hard problems. In

Re: [Tutor] Python and algorithms

2010-02-19 Thread spir
On Thu, 18 Feb 2010 09:11:22 -0500 Kent Johnson wrote: > It's true that solving a problem often involves creating an algorithm > in a broad sense. The formal study of algorithms studies specific > techniques and algorithms that have proven to be useful to solve many > hard problems. In my experie

Re: [Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Shashwat Anand wrote: Solving problems on ACM UVA , SPOJ , Codechef helps too plus it is fun. On Thu, Feb 18, 2010 at 11:48 PM, Alan Gauld mailto:alan.ga...@btinternet.com>> wrote: "C.T. Matsumoto" mailto:c.t.matsum..

Re: [Tutor] Python and algorithms

2010-02-18 Thread Shashwat Anand
Solving problems on ACM UVA , SPOJ, Codechef helps too plus it is fun. On Thu, Feb 18, 2010 at 11:48 PM, Alan Gauld wrote: > > "C.T. Matsumoto" wrote > > I'd say sharpening my problem solving skills. I thought that was often >

Re: [Tutor] Python and algorithms

2010-02-18 Thread Alan Gauld
"C.T. Matsumoto" wrote I'd say sharpening my problem solving skills. I thought that was often tied to building an algorithm. The example Walter Prins provided I thought fit what I was looking for. "To keep this simple and practical, as a suggestion, consider the problem of sorting a list (a

Re: [Tutor] Python and algorithms

2010-02-18 Thread Alan Gauld
"C.T. Matsumoto" wrote Can someone point me to any resources that can teach me about algorithms in python? algorithm books tend to be fairly language neutral. Search for books by Donald Knuth, his books tend to be considered the canonical references on algorithms in computing. I'm interes

Re: [Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Kent Johnson wrote: On Thu, Feb 18, 2010 at 9:43 AM, C.T. Matsumoto wrote: Here is the example. "To keep this simple and practical, as a suggestion, consider the problem of sorting a list (a pack of cards, or a list of names or whatever you want) into order." Yes, there are many built-ins

Re: [Tutor] Python and algorithms

2010-02-18 Thread Kent Johnson
On Thu, Feb 18, 2010 at 9:43 AM, C.T. Matsumoto wrote: > Here is the example. > > "To keep this simple and practical, as a suggestion, consider the problem of > sorting a list (a pack of cards, or a list of names or whatever you want) > into order." > > Yes, there are many built-ins that wrap goo

Re: [Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Kent Johnson wrote: On Thu, Feb 18, 2010 at 8:17 AM, C.T. Matsumoto wrote: Kent Johnson wrote: But is that what you are asking for, or are you trying to sharpen your problem-solving skills? Many progamming problems are solved by simple loops and data structures without explicitly

Re: [Tutor] Python and algorithms

2010-02-18 Thread Kent Johnson
On Thu, Feb 18, 2010 at 8:17 AM, C.T. Matsumoto wrote: > Kent Johnson wrote: >> But is that what you are asking for, or are you trying to sharpen your >> problem-solving skills? Many progamming problems are solved by simple >> loops and data structures without explicitly using any algorithms that

Re: [Tutor] Python and algorithms

2010-02-18 Thread Shashwat Anand
One approach can be to go for CLRS and code the algorithms in python. However I am not too sure you can grasp it at your level. Also if you think your maths skills are not there yet, I suggest improve your math skills first. On Thu, Feb 18, 2010 at 6:47 PM, C.T. Matsumoto wrote: > Kent Johnson wr

Re: [Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Kent Johnson wrote: On Thu, Feb 18, 2010 at 4:59 AM, C.T. Matsumoto wrote: Hello Tutors, Can someone point me to any resources that can teach me about algorithms in python? I'm interested in learning how to analyze and make an algorithm. I have been reading The Algorithm Design Manu

Re: [Tutor] Python and algorithms

2010-02-18 Thread Kent Johnson
On Thu, Feb 18, 2010 at 4:59 AM, C.T. Matsumoto wrote: > Hello Tutors, > > Can someone point me to any resources that can teach me about algorithms in > python? > > I'm interested in learning how to analyze and make an algorithm. I have been reading The Algorithm Design Manual http://www.algorist

Re: [Tutor] Python and algorithms

2010-02-18 Thread Christian Witts
C.T. Matsumoto wrote: Thanks Christian, I'd found that resource and at first glance it looks above my head. The book also has examples based on existing algorithms and analyzes them. When I said analyze I suppose I meant analyze a problem and make an algorithm out of that. Not to mention the

Re: [Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Thanks Christian, I'd found that resource and at first glance it looks above my head. The book also has examples based on existing algorithms and analyzes them. When I said analyze I suppose I meant analyze a problem and make an algorithm out of that. Not to mention the math is out of my skil

Re: [Tutor] Python and algorithms

2010-02-18 Thread Christian Witts
C.T. Matsumoto wrote: Hello Tutors, Can someone point me to any resources that can teach me about algorithms in python? I'm interested in learning how to analyze and make an algorithm. Oh, I have no background in math, but a sturdy knowledge of python, and I want to make more efficient cod

[Tutor] Python and algorithms

2010-02-18 Thread C.T. Matsumoto
Hello Tutors, Can someone point me to any resources that can teach me about algorithms in python? I'm interested in learning how to analyze and make an algorithm. Oh, I have no background in math, but a sturdy knowledge of python, and I want to make more efficient code. Cheers, Todd _