Tip 1: Be consistent, even if you can solve 1-2 problems a day
Tip 2: No one can solve medium-hard questions in one go, it requires practice and time to understand patterns
Tip 3: You don't need a Ph.D. in the above topics to crack the interview, prepare enough and start giving interviews.
Tip 1: One-page resume
Tip 2: Focus on projects and experiences, no need to write unnecessary info such as extracurricular activities and about medals and achievements in college. You could write if it's related to the role and that too in a very short and crisp 1 liner.
1 DSA question and deep dive around the project.



Suppose given input is "abacb", then the length of the longest substring without repeating characters will be 3 ("acb").
1. Use sliding window with hashset, use left and right pointers to move the window.
2. If the set doesn't contain character then first add into the set and calculate the maxLength hand-in-hand...
3. if a character is already present in the set that means you have to move your sliding window by 1, before that you have to remove all the characters that are in front of the character that is present already in the window before.
4. Now you have to remove that character, move the left pointer, and also add the new character into the set.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
1. Basic questions about the project.
2. Design a multilevel comment system, as seen in Quora.
Some challenging and tricky questions related to cultural fitment were asked.



1. INSERT(key, value): Inserts an integer value to the data structure against a string type key if not already present. If already present, it updates the value of the key with the new one. This function will not return anything.
2. DELETE(key): Removes the key from the data structure if present. It doesn't return anything.
3. SEARCH(key): It searches for the key in the data structure. In case it is present, return true. Otherwise, return false.
4. GET(key): It returns the integer value stored against the given key. If the key is not present, return -1.
5. GET_SIZE(): It returns an integer value denoting the size of the data structure.
6. IS_EMPTY(): It returns a boolean value, denoting whether the data structure is empty or not.
1. Key is always a string value.
2. Value can never be -1.
First(Denoted by integer value 1): Insertion to the Data Structure. It is done in a pair of (key, value).
Second(Denoted by integer value 2): Deletion of a key from the Data Structure.
Third(Denoted by integer value 3): Search a given key in the Data Structure.
Fourth(Denoted by integer value 4): Retrieve the value for a given key from the Data Structure.
Fifth(Denoted by integer value 5): Retrieve the size of the Data Structure.
Sixth(Denoted by integer value 6): Retrieve whether the Data Structure is empty or not.

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?