Small challenges.
Stronger problem solving.
426 programming exercises and projects, from interview patterns to practical data automation.
Page 11 of 18 · 426 problems · Showing 241–264
39Find shortest paths with nonnegative weightsData Structures and Algorithms — Python · Python · Graph constraints and shortest pathsMediumPractice pack40Select nonoverlapping intervalsData Structures and Algorithms — Python · Python · Greedy choices and interval boundariesMediumPractice pack41Merge overlapping closed intervalsData Structures and Algorithms — Python · Python · Greedy choices and interval boundariesMediumPractice pack42Enumerate subsetsData Structures and Algorithms — Python · Python · Backtracking and output-sensitive costMediumPractice pack43Enumerate permutationsData Structures and Algorithms — Python · Python · Backtracking and output-sensitive costMediumPractice pack44Enumerate fixed-size combinationsData Structures and Algorithms — Python · Python · Backtracking and output-sensitive costMediumPractice pack45Count one-or-two-step pathsData Structures and Algorithms — Python · Python · One-dimensional dynamic programmingMediumPractice pack46Find minimum coin countData Structures and Algorithms — Python · Python · One-dimensional dynamic programmingMediumPractice pack47Maximize a nonadjacent sumData Structures and Algorithms — Python · Python · One-dimensional dynamic programmingMediumPractice pack48Count right-and-down grid pathsData Structures and Algorithms — Python · Python · Two-dimensional dynamic programmingMediumPractice pack49Measure a longest common subsequenceData Structures and Algorithms — Python · Python · Two-dimensional dynamic programmingMediumPractice pack50Compute unit-cost edit distanceData Structures and Algorithms — Python · Python · Two-dimensional dynamic programmingMediumPractice pack01Count predicate matchesData Structures and Algorithms — JavaScript · JavaScript · Complexity and contractsEasyFree02Count index pairsData Structures and Algorithms — JavaScript · JavaScript · Complexity and contractsEasyFree03Build prefix sumsData Structures and Algorithms — JavaScript · JavaScript · Arrays and prefix computationsEasyFree04Answer half-open range queriesData Structures and Algorithms — JavaScript · JavaScript · Arrays and prefix computationsEasyFree05Rotate an array without mutationData Structures and Algorithms — JavaScript · JavaScript · Arrays and prefix computationsEasyFree06Count integer frequenciesData Structures and Algorithms — JavaScript · JavaScript · Maps and lookup invariantsMediumPractice pack07Find the earliest finishing pairData Structures and Algorithms — JavaScript · JavaScript · Maps and lookup invariantsMediumPractice pack08Keep first occurrencesData Structures and Algorithms — JavaScript · JavaScript · Sets and membershipMediumPractice pack09Intersect two sets deterministicallyData Structures and Algorithms — JavaScript · JavaScript · Sets and membershipMediumPractice pack10Validate bracket nestingData Structures and Algorithms — JavaScript · JavaScript · Stacks and unresolved workMediumPractice pack11Find the next greater valueData Structures and Algorithms — JavaScript · JavaScript · Stacks and unresolved workMediumPractice pack12Simulate a FIFO queueData Structures and Algorithms — JavaScript · JavaScript · Queues and moving windowsMediumPractice 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.