Category: algorithms
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a list of integers nums, which contains either -1 or 1, return the length of the longest sublist that …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a two-dimensional integer matrix matrix containing 1s and 0s. 1 represents land and 0 represents water. An …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given the root of a binary tree, return the maximum average value of a subtree of that tree. Answers within …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given n people represented as an integer from 0 to n – 1, and a list of friends …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given the root of a binary tree, return true if you can partition the tree into two trees with equal …