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.

Generate all valid combinations of n pairs of balanced parentheses.

backtracking recursion string
280 points Solve Problem

Convert a number from one base to another base. Support bases 2 to 36.

math base-conversion string

Count unique paths from top-left to bottom-right in a grid. You can only move right or down.

dynamic-programming combinatorics grid

Group words that are anagrams of each other. Words in same group should be together.

string hash-table sorting

Find all prime factors of a given number and their powers.

math prime-numbers factorization

Find the length of longest common subsequence between two strings.

dynamic-programming string subsequence

Calculate sum of both diagonals in a square matrix. Count center element only once if matrix size is odd.

matrix array math

Check if a binary tree is a valid binary search tree.

binary-tree validation recursion

Given a positive integer, find its digital root. The digital root is obtained by repeatedly summing all digits until a s...

math digits simulation

Create a function that validates password strength based on specific criteria: at least 8 characters, contains uppercase...

string validation regex
Showing 81 to 90 of 100 results
Feedback