akunacapital | General | Interview Experience
Interview Date: Not specified
Result: Not specified
Difficulty: Not specified
Interview Process
The interview consisted of several rounds, including coding challenges and theoretical questions. The coding challenges focused on implementing specific algorithms and classes, while the theoretical questions assessed understanding of data structures and SQL.
Technical Questions
-
funWithAnagrams
- Topic: Strings, Sorting, Set
- Task: Given an array of strings, remove all strings that are anagrams of previously encountered strings, retaining only the first occurrence. Output the remaining strings in lexicographical order.
-
CommsHandler
- Topic: Class and Objects, Exception Handling
- Task: Implement two classes:
ConnectionExceptionandCommsHandler. TheCommsHandlerclass must support three methods:connect,hangup, andclear_all. Only one pair of users is allowed to communicate at the same time, and attempts to connect to oneself or repeat connections must raise aConnectionException. Thehangupmethod must correctly terminate the current connection, whileclear_allclears all connection states.
Tips & Insights
Focus on understanding the concepts of anagrams and exception handling in object-oriented programming. Practice coding problems related to strings and class design to prepare effectively for similar interviews.