There is an integer array nums sorted in non-decreasing order (not necessarily with distinct values)...
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessa...
Given an array of non-negative integers nums, you are initially positioned at the first index of the...
Given a binary string s without leading zeros, return true if s contains at most one contigu...
You are given two integers, x and y, which represent your current location on a Cartesian grid: (x, ...
You are given an array items, where each items[i] = [typei, colori, namei] describes the type, color...
You are given two strings word1 and word2. Merge the strings by adding letters in alternating order,...
A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercas...
You are given a string s consisting only of the characters '0' and '1'. In one operation, you can ch...
Given an array nums, return true if the array was originally sorted in non-decreasing order, then ro...