Category: python
Given a string s and an integer k, return the length of the longest substring of s such that the frequency of each character in this substring is greater …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a grid with n*m squares (m horizontal squares and n vertical squares), and suppose you are at the top-left …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given two binary search trees a and b and an integer target. Return whether there’s a number in …
Given a string s, find the longest palindromic subsequence’s length in s. You may assume that the maximum length of s is 1000. Example 1: Input: “bbbab” Output: 4 …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a array of numbers (more than 3 elements), not necessarily sorted, find out the max product of 3 numbers. …