Given a sorted integer array without duplicates, return the summary of its ranges.
Given a string s, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can find by per...
Given an array of integers, find if the array contains any duplicates.
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid op...
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: