Coding Problems

Practice algorithmic problems and improve your coding skills

Guest Access: You can view 1 problem. Register to solve problems and track your progress.

Implement a string compression algorithm using run-length encoding. Compress consecutive identical characters into the f...

string compression run-length-encoding optimization
75 points Solve Problem

Given a string, find the minimum number of cuts needed to partition it such that every substring is a palindrome. For ex...

dynamic-programming palindrome string-partitioning optimization

Decode a complex run-length encoded string that supports nested patterns. Format: "a3b2(c2d)3" means "a" repeated 3 time...

string stack parsing recursion

Find the shortest transformation sequence from a start word to an end word, changing only one letter at a time. Each int...

bfs graph shortest-path word-transformation

Normalize two strings by removing all spaces, punctuation, and converting to lowercase, then check if they are equal. Th...

string normalization text-processing comparison

Find the shortest path from start (S) to treasure (T) in a grid map. The grid contains walls (#) that block movement, op...

bfs shortest-path grid pathfinding

Navigate a maze with teleportation portals. The maze has walls (#), paths (.), start (S), end (E), and teleport portals...

bfs graph teleportation shortest-path

You have N energy stones, each with initial energy and decay rate per second. You can collect one stone per second, and...

greedy sorting optimization scheduling

Given a binary tree and a starting node, calculate the minimum time to burn the entire tree. Fire spreads from the start...

tree bfs graph-traversal burning-simulation

Find the route with minimum traffic congestion between two cities. Given a graph of cities connected by roads with traff...

dijkstra shortest-path graph weighted-graph
Showing 31 to 40 of 100 results
Feedback