Justin Abrahms: Computer science fundamentals for self-taught programmers - PyCon 2014

  Рет қаралды 37,394

PyCon 2014

PyCon 2014

Күн бұрын

Speaker: Justin Abrahms
"When people talk about Big O notation do you go cross eyed? Do you not
get the point of learning about implementing linked lists or depth
first search? Join me as I introduce the CS fundamentals that helped
me ace my Google interview, even though I didn't get a formal CS
education."
Slides can be found at: speakerdeck.co... and github.com/PyC...

Пікірлер: 19
@MrBeiragua
@MrBeiragua 8 жыл бұрын
for i in range(0,1000000): print("Uhmmmmm")
@LiamWhan
@LiamWhan 8 жыл бұрын
+Mosco Monster If I'm not mistaken, this is the source of the WinME Kernel in its entirety
@MrBeiragua
@MrBeiragua 8 жыл бұрын
It works in python3 here.
@mlst3rg
@mlst3rg 7 жыл бұрын
do a "while True" loop instead
@dbseraph
@dbseraph 10 жыл бұрын
The example of binary search seems off. Why would you arbitrarily dump [a] or [b] just because x does not equal the mid point? Wouldn't you instead check if the mid point is greater or less than x and then continue accordingly?
@JohnBastardSnow
@JohnBastardSnow 10 жыл бұрын
He put either wrong or over-simplified example of the binary search. Usually it goes like you've said: if number > current_num_in_array: #jump middle left else if number < current_num_in_array: #jump middle right else: return current_num_in_array As you can see you will never actually have to compare if it equals ( == ) . If it's not greater or less, then it's obviously the result.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Hi Jon Wise . Thanks for correcting this. It was, in fact, an oversimplification. In words, I allude to using greater than / less than, but show equals.
@pascalfragnoud2846
@pascalfragnoud2846 4 жыл бұрын
I think this talk is missing something that would make everything much clearer, particularly the part where we ignore the "lesser" parts of the complexity: big O is about growth. This is why O(n) * O(1) in the exemple is simply O(n), O(1) doesn't change the growth rate of an algorithm's complexity. Visually, if you plot it, the line would simply move up a bit, its shape wouldn't change.
@Noturbusiness91
@Noturbusiness91 9 жыл бұрын
the "uhh" and "umm" every nano second 0.o
@ahmedsalama5069
@ahmedsalama5069 4 жыл бұрын
good material i think
@diek00
@diek00 10 жыл бұрын
Justin, are you going to post the powerpoint presentation? I am in the same boat as you, kinda. I first encountered Big O notation when I took an MIT course on python. And unfortunately they did not do the topic justice. I guess measuring complexity is common place for computer science classes, but not 2 year IT programs.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Hey Diek Kearney . The slides are at speakerdeck.com/pycon2014/computer-science-fundamentals-for-self-taught-programmers-by-justin-abrahms if you'd still like to see them. :)
@diek00
@diek00 10 жыл бұрын
Justin, thank you I appreciate it. I frequently mention your video in the python fb groups I belong to.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Diek Kearney Feel free to mention me directly, and I'm happy to answer questions.
@diek00
@diek00 10 жыл бұрын
I admin 4 FB groups, 1 a beginner python course from the UoM, 2 python groups, and a django group. In the range of 20000+ people combined and your Big O video gets lots mentions, with your name.
@bowenliu807
@bowenliu807 4 жыл бұрын
@@JustinAbrahms Hey Justin, thanks for your presentation. Could you elaborate on the part of your presentation where you concluded that 5x+9 is also O(n). Your explanation is based on how the lines will never touch. 5x + 9 won't touch kx, with k being a random number. How can that be good supporting evidence for 5x+9 to be O(n)? Thanks
@inspectormorse6711
@inspectormorse6711 8 жыл бұрын
Excellent talk. Thank you.
@vwwvwwwvwwwvwwvvwwvw
@vwwvwwwvwwwvwwvvwwvw 4 жыл бұрын
ah yes, the self-promotion talk
Alex Gaynor: Fast Python, Slow Python - PyCon 2014
36:11
PyCon 2014
Рет қаралды 62 М.
Ned Batchelder: Getting Started Testing - PyCon 2014
42:44
PyCon 2014
Рет қаралды 57 М.
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН
Modus males sekolah
00:14
fitrop
Рет қаралды 11 МЛН
Do CS Graduates Hate Self-Taught Programmers?
4:25
Program With Erik
Рет қаралды 66 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 89 М.
Losing your Loops Fast Numerical Computing with NumPy
30:31
PyCon 2015
Рет қаралды 80 М.
Raymond Hettinger - Super considered super! - PyCon 2015
46:52
PyCon 2015
Рет қаралды 123 М.
Loop like a native: while, for, iterators, generators
29:15
Next Day Video
Рет қаралды 117 М.
#1 Thing to Learn to Become a Self-Taught Programmer
10:00
Andy Sterkowitz
Рет қаралды 500 М.