Category: Recursion
March 6, 2024
algorithms, Depth First Search, DFS, dynamic programming, Dynamic Programming, Memoization, python, Python, Recursion, teaching kids programming, youtube video
Teaching Kids Programming: Videos on Data Structures and Algorithms You are painting a fence of n posts with k different colors. You must paint the posts following these rules: …
February 1, 2024
algorithms, Depth First Search, DFS, Dynamic Programming, Memoization, python, Python, Recursion, recursive, teaching kids programming, youtube video
Teaching Kids Programming: Videos on Data Structures and Algorithms There is an m x n grid with a ball. The ball is initially at the position . You are …
November 15, 2023
algorithms, Dynamic Programming, Knapsack Problems, math, Permutation, python, Python, Recursion, teaching kids programming, youtube video
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a 0-indexed array of integers nums, and an integer target. Return the length of the longest subsequence …
Teaching Kids Programming: Videos on Data Structures and Algorithms We build a table of n rows (1-indexed). We start by writing 0 in the 1st row. Now in every …
Teaching Kids Programming: Videos on Data Structures and Algorithms You have a pointer at index 0 in an array of size arrLen. At each step, you can move 1 …