Tag: math
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two integers, num and t. A number is achievable if it can become equal to num after applying the …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a string s. Simulate events at each second i: If s == ‘E’, a person enters the …
Teaching Kids Programming: Videos on Data Structures and Algorithms Apple Redistribution into Boxes You are given an array apple of size n and an array capacity of size m. …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a 2D boolean matrix grid. Return an integer that is the number of right triangles that can …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a binary array nums. We call a subarray alternating if no two adjacent elements in the subarray …