Until this moment, I did only 1 round.
First they told me about the company and what they do here.
Then asked about me, and asked me to talk about projects I have done in my degree so far.

Then he started asking me about Operating System stuff: Semaphores, Mutex, Shared memory…
Q1: What is the difference between a thread and a process?
Q2: How to processes talk to each other? How can they access the same memory?
Q3: If you have an interrupt section, that when this interrupt happens, you want to wake up  the thread (only then). How do you do that?
Q4: C doesn’t have overriding functions. But, how is that you can add as many args as you want in the function parameters? How does that happen backstage?
Q5: Implement the insert function in a 2-way linkedlist.
Q6: I was asked to give him an efficient solution for this problem: Find the Missing number.
F
irst he wanted with < O(n) Complexity, then with O(1) complexity. (but of course time efficient).
Then he wanted me to give him an equation of the sum of all numbers from 1 to n. He told me to give him the full solution for it.

Q7:  Then the last question was this puzzle: 2 Eggs and 100 Floors. Which I think was pretty hard to understand during the ! I don’t know why.

That was it. 1 hour and a half.

 

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.




Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.




Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here