Showing 3 of 469 questions
A special binary string has equal numbers of 0s and 1s, and any prefix has at least as many 1s as 0s. You need to recursively make the lexicographically largest special string possible from a given special binary string.
#1. Special Binary String
You are given a matrix and a series of update operations. Each operation specifies a submatrix that should have all its elements incremented by one. Your goal is to perform all the updates and return the modified matrix.
#2. Increment Submatrices by One
Find the longest string that is a prefix of all strings in a given array. If no common prefix exists, return an empty string.
#3. Longest Common Prefix
Page 1 of 1 · 469 total