INTERACTIVE COURSE · FREE

Data structures and algorithms in JavaScript

Implement stacks, queues, searches, and sorting algorithms; use Map and Set and choose structures according to required operations. Integrate learning into student and turn management with tests for empty collections, duplicates, and absence.

Level
Intermediate
Lessons
5
Learning steps
64
UNDERSTAND · PRACTISE · APPLY

Your lesson journey

Each lesson has a purpose. Follow the order or revisit an idea you want to practise.

5 lessons

5 of 5 lessons shown

The numbers show the lesson order, not your progress.

What you will learn

Select structures by their operations and explain LIFO and FIFO. Implement stacks and queues with defined empty behavior. Use Map and Set and distinguish updating, membership, and identity. Implement linear and binary search with clear contracts and requirements. Trace Bubble Sort and Insertion Sort and check their results. Compare manual methods with native numeric sorting without accidental mutation. Integrate structures into a system with reusable functions and classes. Test empty input, one element, duplicates, absence, and boundary errors. Justify choices and compare work qualitatively without formal mathematical analysis.

Before you start

Complete courses 01 through 14 of Programming Fundamentals or know variables, operators, conditionals, loops, functions, arrays, objects, references, classes, encapsulation, and debugging. No experience implementing searches, sorting algorithms, or specialized structures is required.

COURSE CONTEXT

About this course

Read the full description

Five complete lessons transitioning to intermediate level. Codi guides state diagrams, tracing tables, worked examples, activities with specific feedback, and editable labs.

The progression covers educational stacks and queues, native Map and Set collections, linear and binary search, and Bubble and Insertion sorting. The project contains a self-contained reference with a student registry, completions, turns, history, and queries. Comparisons are qualitative; formal complexity analysis is reserved for Course 16.

Examples use valid data, small lists, and synchronous execution without installations. console.table is shown only for the browser; playgrounds use permitted outputs. toSorted is an optional alternative depending on the engine, with copying and sort as a compatible option. Use independent contexts if the console retains previous declarations. Reflections and free-form code are not automatically assessed.

CONNECT YOUR LEARNING

This course is part of these learning paths

Follow the suggested order or take this course on its own.