Re: [Tutor] the big o

2015-07-28 Thread Danny Yoo
> I took Intro to Programming at Albright College and we used Starting Out with > Python 3rd ed. Right now I am taking Data Structure and Analysis and we are > using This book : > http://interactivepython.org/runestone/static/pythonds/BasicDS/InfixPrefixandPostfixExpressions.html > > Thanks Alan

Re: [Tutor] the big o

2015-07-28 Thread Quiles, Stephanie
x27;ll answer you inline. > > -Original Message- > From: Tutor [mailto:tutor-bounces+joseph.lee22590=gmail@python.org] On > Behalf Of Quiles, Stephanie > Sent: Monday, July 27, 2015 6:30 PM > To: python tutor > Subject: [Tutor] the big o > >> Hello, &

Re: [Tutor] the big o

2015-07-28 Thread Joseph Lee
you inline. -Original Message- From: Tutor [mailto:tutor-bounces+joseph.lee22590=gmail@python.org] On Behalf Of Quiles, Stephanie Sent: Monday, July 27, 2015 6:30 PM To: python tutor Subject: [Tutor] the big o > Hello, > I am trying to figure this out but i do not understand any of it. t

Re: [Tutor] the big o

2015-07-28 Thread Alan Gauld
On 28/07/15 02:30, Quiles, Stephanie wrote: question asks give the big-o performance of the following code fragment: for i in range(n): for j in range(n): k = 2 + 2 > ...i still cannot grasp the big-o. The big O is a way of describing the relative performance of an al

[Tutor] the big o

2015-07-28 Thread Quiles, Stephanie
Hello, I am trying to figure this out but i do not understand any of it. the question asks give the big-o performance of the following code fragment: for i in range(n): for j in range(n): k = 2 + 2 i am not sure how i am supposed to figure this out. i have been reading