Showing 3 of 7 questions
Given a text string, return a new string containing only the characters that appear a specified number of times or more. The original relative order of the remaining characters should be preserved in the output.
#1. Filter Characters by Frequency
Find the largest substring of a given string that consists of three identical consecutive digits. Return the substring or an empty string if no such substring exists.
#2. Largest 3-Same-Digit Number in String
Imagine people in a circle, eliminating every kth person. Determine who is the last person remaining after this process.
#3. Find the Winner of the Circular Game
Page 1 of 1 · 7 total