Interview
Question Bank
Questions
Interview Assistant
Sign In
Toggle theme
Powered by
.AI
Home
Question
Software Engineer
Technical
Google
they asked me to code for such a question: the input was a string and I was supposed to output the longest sub string with only 2 distinct chars in the sub string.
April 22, 2025
Generate AI Answer