Category: algorithms
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given an integer array nums, return the length of the longest strictly increasing subsequence. A subsequence is a sequence that …
Sudoku is a puzzle where you’re given a partially-filled 9 by 9 grid with digits. The objective is to fill the grid with the constraint that every row, column, …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is …
Given the root to a binary tree root, return a list of two numbers where the first number is the number of leaves in the tree and the second …