Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coddy

Counting Sort - DSA Series

via Coddy

Overview

Master Counting Sort, a non-comparison algorithm that sorts non-negative integers in linear time by tallying values. Build the counting phase, write the full sort in your language of choice, analyze its O(n + k) complexity, and practice with coding challenges.

Prerequisites:

  • Knowledge of a programming language of your choice.

Syllabus

Introduction

  • Motivation

The Algorithm

  • How it works?
  • Pseudo Code
  • Implementation (Part 1)
  • Implementation (Part 2)
  • Time and Space Complexity

Final Challenges

  • Final Challenge #1
  • Final Challenge #2

Reviews

Start your review of Counting Sort - DSA Series

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.