Given a list of non-negative integers nums, return the total number of 3 unique numbers that can create a triangle. Constraints n ≤ 1,000 where n is the length …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two binary trees node0 and node1, return a merge of the two trees where each value is equal to …
Given a list of integers nums and an integer k, return a list of count of distinct numbers in each window of size k. Constraints 1 ≤ k ≤ …
Teaching Kids Programming: Videos on Data Structures and Algorithms The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string s, return whether it’s an IPv4 address. IPv4 addresses must follow the format A.B.C.D, where A, B, …
Given a string s and an integer k, return the number of k-length substrings that occur more than once in s. Constraints n ≤ 100,000 where n is the …