Tip 1 : Participate in live contests on websites like Codechef, Codeforces etc as much as possible.
Tip 2 : Practice questions from leetcode as mostly questions were asked from that only.
Tip 3 : Revise Computer Science subjects like DBMS, OS & OOPS thoroughly, it'll help you ace last round
Tip 4 : Revise everything about your mentioned internship projects and self projects. Projects hold a great weight in selection.
Tip 1 : Competitive programming profiles is a must. That'll help you get shortlisted.
Tip 2 : Resume should reflect development and experience in DSA.
Tip 3 : Be genuine in your skills and technologies section, question will be asked from them.
The platform was HackerEarth time duration was 1 hour.
2 Coding questions were asked, 30 minutes for each were allotted.
Suppose given input is "abacb", then the length of the longest substring without repeating characters will be 3 ("acb").
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then (2, -3, 1), (-3, 2, 1) etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
This was a 2 hours round, with the following problem statement. At the end of the allotted time you had give a demo and explain your implementation.
This problem requires you to implement a log watching solution (similar to the tail -f command in UNIX). However, in this case, the log file is hosted on a remote machine (same machine as your server code). The log file is in append-only mode.You have to implement the following:1. A server side program to monitor the given log file and capable of streaming updates that happen in it. This will run on the same machine as the log file. You may implement the server in any programming language.2. A web based client (accessible via URL like http://localhost/log) that prints the updates in the file as and when they happen and NOT upon page refresh. The page should be loaded once and it should keep getting updated in real-time. The user sees the last 10 lines in the file when he lands on the page.Problem ConstraintsThe server should push updates to the clients as we have to be as real time as possible.The server should not retransmit the entire file every time. It should only send the updates.The server should be able to handle multiple clients at the same time.The web page should not stay in loading state post the first load and it should not reload thereafter as well.You may not use off-the-shelf libraries or tools that provide tail-like functionalities.testability, modularity, corner cases will be evaluated as well.
The platform was Zoom, time duration was 45 mins. Started with Tell me something about yourself. I told them, that I like solving algorithms and real life problems.
How did you find the last n lines of log file ? and if given more time how would you do it efficiently ?
Questions on a personal project and what if we do a change how will you handle it.
Why cannot private methods be overridden?
Why are multiple inheritances not supported by the Java language
Detailed discussion on my previous round's working code.
How data has been stored inside DBMS?
What is Deadlock? How to avoid it?
What is promise chaining in Nodejs
What is Map reduce algorithm?
What is callback hell in Node.js and how to avoid it
Interviewer was very friendly. Asked few questions about myself and then asked questions about what I know about the company.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL keyword removes duplicate records from a result set?