Round 1
Questions: The question was based on Leetcode problem 3076. Shortest Uncommon Substring in an Array. The input was provided in a different format, and the output was expected in a different way.
The input was:
star_wars_titles = [ 'The Phantom Menace', 'Attack of the Clones', 'Revenge of the Sith', 'A New Hope', 'The Empire Strikes Back', 'The Return of the Jedi', 'The Force Awakens', 'The Last Jedi', ]
The expected output was the smallest unique substring for each title:
{ 'The Phantom Menace': 'to', 'Attack of the Clones': 'tt', 'Revenge of the Sith': 'v', 'A New Hope': 'ho', 'The Empire Strikes Back': 'b', 'The Return of the Jedi': 'u', 'The Force Awakens': 'aw', 'The Last Jedi': 'tj', }
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.