
maximalSquare
You have a 2D binary matrix that's filled with 0s and 1s. In the matrix, find the…
countZeros(I)
Given two integers a and b, we write the numbers between a and b, inclusive…
countPalindromes
Một palindrome là một từ hoặc cụm từ hoặc một chuỗi các ký tự khác đọc ngược…
Number of distinct numbers
Halley có hai mảng a và b gồm các số nguyên. Với mỗi b[i], Halley muốn biết…