SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial

The home for developers

Track your course progress, manage projects, and find your dream job - all in one place.

Start Your Free Trial

7 Day Free Trial. Cancel Anytime.

SitePoint Premium

  • Access to 700+ courses
  • Publish articles on SitePoint
  • Daily curated jobs
  • Learning Paths
  • Discounts to dev tools
  • Library/
  • Video courses/
  • Interview Prep: Merge Sort
Interview Prep: Merge Sort

Interview Prep: Merge Sort

Master the classic programming sorting algorithm


Course details

4.5∙2 Ratings1 review

Published
April 2020
Videos
7
Duration
Happy students
72

Take this course

About the course

Sorting is a key activity in programming, and you should understand how it works. Merge sort is a common approach. By learning this algorithm, you’ll improve your understanding of sorting. It serves as a cornerstone to your algorithmic knowledge, helping you in your job, and improving your interview performance.

In this class, we’ll look at:

  • How the merge sort algorithm works
  • The time and space complexity
  • An implementation coded in Python

The code I use for the final chapter can be found in my GitHub repository.

Project

I encourage students of this class to write their own merge sort algorithm. It’s not mandatory, but helps internalize the information I present.

In the code chapter of the course, I provide some points of interest. Coding these provide a deeper understanding of the algorithm.

Course Instructor

Course Outline

Lesson 1: Merge Sort Algorithm
  • Free
    Introduction
    1:09
  • Locked
    Divide
    4:54
  • Locked
    Combine
    7:43
  • Locked
    Complexity: Divide
    6:01
  • Locked
    Complexity: Merge
    6:39
  • Locked
    Stable Sort
    2:21
  • Locked
    Code
    11:29

Reviews
4.5

2 total

1
1
0
0
0

Course details

4.5∙2 Ratings1 review

Published
April 2020
Videos
7
Duration
Happy students
72

Take this course
SitePoint

Stuff we do

  • Premium
  • Newsletters
  • Learning paths
  • Library
  • Forums

Contact

  • Contact us
  • FAQ
  • Publish your book
  • Write an article
  • Advertise

About

  • Our Story
  • Corporate Memberships
  • Start free trial
  • Login

Connect

  • RSS
  • Facebook
  • Twitter (X)
  • Instagram

Subscribe to our newsletter

Get the freshest news and resources for developers, designers and digital creators in your inbox each week

© 2000 – 2025 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Terms of usePrivacy policy