The company visited our campus Thapar Institute of Engineering and Technology on 29th July, 2020. The Pre-placement talk was conducted on the same day where we were told about the fast growing rate of Gameskraft in the gaming world. Since everything took place during covid-era, the entire process was virtual. The process included 1 online coding round followed by 3 technical interviews.
Online Coding Round -
The round took place on HackerRank and we had 90 mins to solve the following 3 questions -
- Variation of Job scheduling problem - https://www.geeksforgeeks.org/dsa/weighted-job-scheduling/ The expected time complexity was O(n log(n)) but I was able to solve it in O(n2) which passed just 8 out of 14 test cases.
- The question is very well explained in this thread - https://leetcode.com/discuss/interview-question/202553/Traveling-is-Fun/ I was able to clear 8 out of 14 test cases.
- Given a list of connections between nodes, every direct connection between two nodes indicate that they are best friend. The task was to find for every trio of best friends, the minimum sum of extra best friends of all 3 nodes in the trio.
- Find the sum of all left leaf nodes of a given binary tree. You may refer https://www.geeksforgeeks.org/dsa/find-sum-left-leaves-given-binary-tree/
- Check if a contiguous sub-array exists whose sum is multiple of a given target. You may refer https://leetcode.com/problems/continuous-subarray-sum/ Even though I was able to reach the correct solution very quickly, the interviewer was much more interested in knowing why other approaches would fail. Also there were some corner cases for which I had to correct my code.