Showing 3 of 42 questions
You're given a string of characters and a limit on how many times each character can repeat consecutively. Build the lexicographically largest string possible while respecting this repeat limit.
#1. Construct String With Repeat Limit
Given a string of digits, find all possible valid IP address combinations you can create by inserting dots. An IP address is valid if each segment is between 0 and 255.
#2. Restore IP Addresses
In a town, find the 'judge' who is trusted by everyone else but doesn't trust anyone. You are given trust relationships; determine if a town judge exists and, if so, who they are.
#3. Find the Town Judge
Page 1 of 1 · 42 total