Skip to main content

44 docs tagged with "Recursion"

View all tags

Cherry Pickup

This is a solution to the Cherry Pickup problem on LeetCode.

Climbing Stairs

This document explores different approaches to solving the climbing stairs problem, including recursion, memoization, tabulation, and space optimization.

Course Schedule

This document provides a solution to the Course Schedule problem.

Flood Fill

This is a solution to the Flood Fill problem on LeetCode.

Implement Trie

This document provides a solution to the Implementation of Trie.

Min falling path sum in a Triangle

Given a triangular type matrix we need to return the minimum sum for reaching the bottom from the top . in each step we can either move down or diagonally right

Min falling path sum in a Triangle

Given a triangular type matrix we need to return the minimum sum for reaching the bottom from the top . in each step we can either move down or diagonally right

N-Queens Puzzle

The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.

Number of Atoms

This is a solution to the Number of Atoms problem on LeetCode.

Number of Digit One

This document provides a solution where we count the total number of digit $1$ appearing in all non-negative integers less than or equal to n.

Paths to Reach Origin

This document explores finding the number of paths to reach the origin (0, 0) on a grid.

Permutation Sequence(LeetCode)

The set [1, 2, 3, ..., n] contains a total of n! unique permutations. Given n and k, return the kth permutation sequence.

Print Pattern

This tutorial covers the solution to the Print Pattern problem from the GeeksforGeeks.

Regular Expression Matching (LeetCode)

Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' where '.' matches any single character and '*' matches zero or more of the preceding element.

Reorder List

This is a solution to the Reorder List problem on LeetCode.

Reverse LinkedList

This document provides solutions for determining the Reverse Linkedlist.

Target Sum

This is a solution to the Target Sum problem on LeetCode.