Tip 1 : Become Pro in atleast one programming language (preferably Java/C++)
Tip 2 : Master DSA and solve a lot of problems on various platforms (leetcode,hackerrank,codechef,etc)
Tip 3 : Make some good projects related to your field of expertise, and do it on your own and deploy it.
Tip 1 : Use some good Templates (i used novoresume to build my resume)
Tip 2 : Don't put irrelevant things
Tip 3 : Highlights the technologies used in your projects & internships
It happened at around 10 AM. There were 3 coding problems. And solving all the three with the corner cases was important.
Total time was 90 minutes.
47 out of 880 students passed this round.



Given:
‘N’ = 3, ‘M’ = 3.
‘edges’ =
[[0 1 1],
[1 2 1],
[0 2 3]]
‘src’ = 0, ‘dest’ = 2.
There are two possible paths, that is to go from node-0 to node-2 directly, which will take 2 units of effort, or go from node-0 to node-1 and then node-1 to node-2, which will take 1 unit of effort.



1. Every train will depart on the same day and the departure time will always be greater than the arrival time. For example, A train with arrival time 2240 and departure time 1930 is not possible.
2. Time will be given in 24H format and colons will be omitted for convenience. For example, 9:05AM will be given as "905", or 9:10PM will be given as "2110".
3. Also, there will be no leading zeroes in the given times. For example, 12:10AM will be given as “10” and not as “0010”.



Here, sorted paths mean that the expected output should be in alphabetical order.
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1
Expected Output:
DDRDRR DRDDRR
i.e. Path-1: DDRDRR and Path-2: DRDDRR
The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.



For the given array 'ARR' = [7, 12, 1, 20]
The next greater element for 7 is 12.
The next greater element for 12 is 20.
The next greater element for 1 is 20.
There is no greater element for 20 on the right side.
So, the output is [12, 20, 20, -1].
What are semaphores? (Learn)
Follow-up questions -
What is the critical section problem? (Learn)
Code it with a multithreading program. (Learn)
What is thread? What is process? Differences between them. (Learn)
Execution flow in a multithreaded program, with preemption and critical section problems happening. And how semaphores are helping to overcome this problem.
Other methods to solve critical section problems -
Locking Mechanism (With pseudo code) (Learn)
Mutex. What is it? Semaphore vs mutex (Learn)
It was based on my DSA skills and cs fundamentals.



You may also choose not to plant that extra tree at all.
Input: 54
Output: 5
The binary representation of 54 is 110110.
After flipping the third bit from the left, we get consecutive 5 bits. i.e. 111110.
It was a Manegerial Round. It was a discussion on my projects.
He asked to introduce myself, and asked about my interview experience so far.
He then inspected my resume, and asked about my internship experience (Android Developer intern at a medium size company).
He then asked brief about my projects mentioned on my resume.
He choose my Android Project to have a indepth discussion (Android chat application using end-to-end encryption using AES).
He asked me to present the code, i opened android studio, with my screen being presented.
I explained the folder structure, and how everything is working, and how we are interacting with the database (Firebase).
Then he asked on what basis we are fetching the user list, and i also showed the data stored (in Firebase console).
Then he asked about the encryption part, why we are doing it.
Then he saw that, i was storing the chat data, twice in the database, on in the room for sender and one for the receiver. Basically i was concatenating the user IDs to create room , so there were two rooms created,
He asked me to change the logic so that, chat gets stored once only, so i had to create a common room, such that both sender and receiver can fetch the chat details. To create a common room for both users, i used character by character ASCII sum of both user IDs, so it will be common on both sides, and chat data can be fetched from the database using a common Room ID.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?