Tip 1 : Focus on linked list, trees, strings, and bit manipulation
Tip 2 : Brush up OS concepts
Tip 3 : Go through the previous projects.
Tip 1 : Mention your achievements
Tip 2 : Mention only those skills which you are confident
Questions based on C output/erros, C concepts, OS, security and one programming question.



n = 4, list: 1 -> 0 -> 1 -> 0.
Now in this example, the value in the linked list is 1010, which is 10 in Decimal.
Hence the answer is 10.
Step 1) I traversed the list and on the traversal itself I created the number using the binary to decimal computation.
Past projects, Coding problem and OS concepts.



the basic idea is, keep a hashmap which stores the characters in string as keys and their positions as values, and keep two pointers which define the max substring. move the right pointer to scan through the string , and meanwhile update the hashmap. If the character is already in the hashmap, then move the left pointer to the right of the same character last found. Note that the two pointers can only move forward.
DS, Design, OS



1. Constructor: It initializes the data members as required.
2. enqueue(data): This function should take one argument of type integer. It enqueues the element into the queue.
3. dequeue(): It dequeues/removes the element from the front of the queue and in turn, returns the element being dequeued or removed. In case the queue is empty, it returns -1.
4. front(): It returns the element being kept at the front of the queue. In case the queue is empty, it returns -1.
5. isEmpty(): It returns a boolean value indicating whether the queue is empty or not.
Query-1(Denoted by an integer 1): Enqueues integer data to the queue.
Query-2(Denoted by an integer 2): Dequeues the data kept at the front of the queue and returns it to the caller, return -1 if no element is present in the queue.
Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the front of the queue but doesn't remove it, unlike the dequeue function, return -1 if no element is present in the queue.
Query-4(Denoted by an integer 4): Returns a boolean value denoting whether the queue is empty or not.
This can be easily doable by taking two-pointers. Just do a dry run on a queue using front and rear.


Using 0xAA and 0x55 this can be done.
IPC mechanism, Semaphores/ Mutex
Tip 1: Give a briefing and ask question how much deep they wanted to know. There could be a case they want to move to next or they want a deep discussion on a particular topic.
Tip 2: Explain by giving examples.
Tip 3: If you have used that feature in your any project then mention that.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?