Computer Science Fundamentals/ Data Structures and AlgorithmsLESSON 19 OF 34Log inSubscribe
Basic Sorting Algorithms lesson slide
LESSON 19 OF 34 · IN THE FULL COURSE

This one's part of the full course

Good to see you. This one's in the full course

8 lessons are free to watch right now, no account needed. If they click, grab the course and every lesson is yours to keep.

You've seen how I teach. The other 26 lessons are in the full course, and your progress comes with you.

Already bought it? Log in and it picks up right here.

Your progress comes with you the moment you buy.

Data Structures and Algorithms · LESSON 19

Basic Sorting Algorithms

Discuss
THE COURSE, END TO ENDNow playingDoneAheadYou are hereFree to watchIn the full course
Foundations
Logic and Binary
Information Theory
Crypto
CS Theory
Data Structures and Algorithms
Software Design
Core Skills
ABOUT THIS LESSON

You will likely never have to write a search algorithm, except when you’re in an interview. In fact, just yesterday, I was talking to a colleague of mine at Microsoft (a super talented engineer) and he shared with me that he was asked to write a Bubble Sort routine! On a white board!

Interviewers ask this question because they want to see how you write code. If they ask you to write Bubble Sort, consider yourself lucky! They’re giving you a softball.

Not everyone can remember this algorithm so be sure to ask questions… it’s OK. Also: remember they just want to see how you think through a problem, so chill out and answer as best you can.

Divide and Conquer

As you go through these sorting and searching algorithms, see if you can spot the “divide and conquer” approach being used. This concept is the foundation of so many optimizations in computer science - database indexes, for instance.

Divide and conquer is algorithmic which is a massive improvement over linear time complexity. Do you know what that means and why? We’ll get into it!

34lessons across 8 sections
8free to watch right now
Foreverbuy it once, it's yours for life

34 lessons · 9.6 hours · all done

You finished Computer Science Fundamentals.

Every lesson, start to finish. That takes some doing, and you did it. Now go build something with it.

Cheers! Rob