Tag: algorithms
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 You are given an integer array nums. In one move, you can pick an index i where 0 <= i …
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 …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string s, find any substring of length 2 which is also present in the reverse of s. Return …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given an integer array nums of even length. You have to split the array into two parts nums1 …