Had my SDE I/II event interviews for 15 Feb. The following questions were asked:
- https://leetcode.com/problems/wildcard-matching/ -- Probably gauging for SDE2
- Given a list of integers, return the list such that all positive integers are on the right of the zero in the list and all the negatives are on the left. Without sorting (Obviously!!) and in place. Also, there can be multiple zeros in the list.
- Check if the string given has a phone number or not. Basic pattern matching. But interviews mainly revolved around design. Also tradeoffs for all the approaches and memory considerations.
- https://leetcode.com/problems/meeting-rooms-ii/
All the best!