Tag: python
Given two integers num and k, return the largest product of k contiguous digits in num. Note: num is guaranteed to have >= k digits. Example 1 Input num …
Teaching Kids Programming: Videos on Data Structures and Algorithms Yesterday, we talked about the Breadth First Search Algorithm. We are solving the same Jump Game problem today by using …
Given a list of integers nums, return whether there’s two numbers such that one is a triple of another. Constraints n ≤ 100,000 where n is the length of …
Teaching Kids Programming: Videos on Data Structures and Algorithms Compute the Average The average of some numbers can be comptued as the sum of them divided by the number …
Given an integer n, return whether it is equal to the sum of its own digits raised to the power of the number of digits. Example 1 Input n …