Round 1
Questions:
-
Determine if a string input is a palindrome if you can remove at MOST 1 character. For example:
- 'tacocats' --> True as you can remove 's' and it becomes a palindrome.
-
Given a vector (essentially a list) of millions of zeros and a few hundred non-zero integers, convert it to data structures that are much more efficient at holding these values without losing important context (like integer value, position in vector (index), etc.).
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.