Small challenges.
Stronger problem solving.
426 programming exercises and projects, from interview patterns to practical data automation.
Page 12 of 18 · 426 problems · Showing 265–288
13Compute fixed-window sumsData Structures and Algorithms — JavaScript · JavaScript · Queues and moving windowsMediumPractice pack14Traverse an indexed linked listData Structures and Algorithms — JavaScript · JavaScript · Linked structures and pointer reasoningMediumPractice pack15Detect a linked-list cycleData Structures and Algorithms — JavaScript · JavaScript · Linked structures and pointer reasoningMediumPractice pack16Find the lower insertion positionData Structures and Algorithms — JavaScript · JavaScript · Binary search and boundary invariantsMediumPractice pack17Find the first exact matchData Structures and Algorithms — JavaScript · JavaScript · Binary search and boundary invariantsMediumPractice pack18Merge sorted arraysData Structures and Algorithms — JavaScript · JavaScript · Sorting and mergingMediumPractice pack19Implement insertion sortData Structures and Algorithms — JavaScript · JavaScript · Sorting and mergingMediumPractice pack20Implement merge sortData Structures and Algorithms — JavaScript · JavaScript · Sorting and mergingMediumPractice pack21Write a recursive base caseData Structures and Algorithms — JavaScript · JavaScript · Recursion and decreasing measuresMediumPractice pack22Flatten nested integer listsData Structures and Algorithms — JavaScript · JavaScript · Recursion and decreasing measuresMediumPractice pack23Exponentiate by squaringData Structures and Algorithms — JavaScript · JavaScript · Recursion and decreasing measuresMediumPractice pack24Traverse a binary tree in orderData Structures and Algorithms — JavaScript · JavaScript · Binary-tree traversalMediumPractice pack25Measure binary-tree heightData Structures and Algorithms — JavaScript · JavaScript · Binary-tree traversalMediumPractice pack26Collect leaves left to rightData Structures and Algorithms — JavaScript · JavaScript · Binary-tree traversalMediumPractice pack27Validate a strict search treeData Structures and Algorithms — JavaScript · JavaScript · Binary search treesMediumPractice pack28Search a binary search treeData Structures and Algorithms — JavaScript · JavaScript · Binary search treesMediumPractice pack29Validate an array min-heapData Structures and Algorithms — JavaScript · JavaScript · Heaps and bounded selectionMediumPractice pack30Insert into a min-heapData Structures and Algorithms — JavaScript · JavaScript · Heaps and bounded selectionMediumPractice pack31Keep the k largest valuesData Structures and Algorithms — JavaScript · JavaScript · Heaps and bounded selectionMediumPractice pack32Build an undirected adjacency listData Structures and Algorithms — JavaScript · JavaScript · Graph representationsMediumPractice pack33Count directed incoming edgesData Structures and Algorithms — JavaScript · JavaScript · Graph representationsMediumPractice pack34Find unweighted shortest distancesData Structures and Algorithms — JavaScript · JavaScript · BFS, DFS and componentsMediumPractice pack35Traverse depth firstData Structures and Algorithms — JavaScript · JavaScript · BFS, DFS and componentsMediumPractice pack36Count undirected connected componentsData Structures and Algorithms — JavaScript · JavaScript · BFS, DFS and componentsMediumPractice pack
Free lessons and coding exercises
Find a starting point, read a worked example, and try matching exercises with hints and solutions. No account is needed for free previews.
Progress is for your own learning. Browser test results are not a verified assessment.