Easy interview, but the interviewers are inexperienced.
Q1: How do you find a specific log in a server file without downloading logs?
A: Use grep command
Q2: Flip a bit in an integer
A: Use XOR
Q3: Given a code that contains synchronized keyword identify issues
A: Deadlocks, and make sure to fix it
Q4: Given a file system contains subdirectories and files, find TOP K words
A: Classic BFS. Use a Map to calculate frequencies, then add elements in Map to PQ while maintaining only K elements.