Community-driven challenges - No solutions shown!
These are interesting problems with no solutions shown. Submit your own solutions or problems to contribute!
9 challenges available
You are given a string s. You can convert s to a palindrome by adding characters in front of it....
Given an array words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fu...
You are given a string s and an array of strings words. All the strings of words are of the same length. Return all star...
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses....
A message containing letters from A-Z can be encoded into numbers using a mapping. A-Z is mapped to 1-26. However, this ...
Given a pattern and a string s, find if s follows the same pattern. Here follow means a full match, such that there is a...
Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every char...
Implement a regular expression matcher that supports . (matches any single character) and * (matches zero or more of the...
Given a string containing just the characters ( and ), find the length of the longest valid (well-formed) parentheses su...