Teaching Kids Programming: Videos on Data Structures and Algorithms Given the root of a binary tree, the level of its root is 1, the level of its children is …
Given a list of integers nums, consider every contiguous sublist. Sum each of these sublists and return the sum of all these values. Mod the result by 10 ** …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given the root of a binary tree, the level of its root is 1, the level of its children is …
Given a list of integers nums, return the number of contiguous arithmetic sequences of length ≥ 3. Constraints n ≤ 10,000 where n is length of nums. Example 1 …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given an array of numbers and a target, find out if there is any three numbers that sum up to …
Given a binary tree root, return the number of nodes that are an only child. A node x is an only child if its parent has exactly one child …