
isPronic
A pronic number (also known as oblongnumber, rectangular number or heteromecic number), is a number which is the product of two consecutive…
completeWords
You're given a word that consists of lowercase English letters, digits and whitespace characters. Your task is…
overlapped
Given a string s and a dictionary d, find the number of pairs of words from the dictionary,…
changumangu23
Changu and Mangu are brothers. Changu likes 2 and Mangu likes 3. They decided to express each number…
smallestPalindrome
Given a string s find the lexicographically smallest palindrome of the same length that is lexicographically greater than or equal…
isSquare
You are given Cartesian coordinates of 4 different points. Determine if there exists a square…
firstOccurrenceOfNumber
A sequence of digits is obtained by writing down decimal representations of all integers starting…
PasswordPolicy
Độ mạnh của mật khẩu vẫn thường xuyên bị xem thường. Người dùng thường thích…