Tip 1 : Practice programming questions on daily basis.
Tip 2 : Do not jump into code directly. Brainstorm ideas and arrive at a soltuion.
Tip 3 : Learn OOPS along with real world scenarios and also DBMS, OS.
Tip 1 : Keep it on a Page and Think like a employer when preparing resume.
Tip 2 : Your resume isn’t a list of everything you’ve ever done. Carefully curate the experiences that best capture your skills and problem-solving abilities.
Tip 3 : Include projects and highlight your achievements
- Morning time
- Environment was good.
- No
- Interviewer was good


Subsequences of string "abc" are: ""(empty string), a, b, c, ab, bc, ac, abc.
s1- It's a standard problem can be found at various sites on the internet.
s2- So, I applied the approach that I practised earlier for this question



Input: 'list' = [1, 2, 3, 4], 'k' = 2
Output: 2 1 4 3
Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.
All the node values will be distinct.
s1- I applied linked list contains n number nodes.
s2- Reverse the given linked list of size k, k+1.
s3- list is 1 2 3 4 5 and K = 3, then the answer would be 3 2 1 5 4.
s4- Linked list whose elements are separated by space and the linked list is terminated by -1.
- Morning time
- Environment was good.
- No
- Interviewer was good



For the given binary tree

The top view of the tree will be {10, 4, 2, 1, 3, 6}.
s1- I simply used level order traversal and the concept of horizontal distance.
s2- Whenever we encountered the first node for a particular horizontal distance then we store that in the map and at last in the map we have tree top view. The interviewer asked me to write its code and I wrote a clean and commented code for it and he was satisfied with that.



s1- Given a singly linked list, you have to detect the loop and remove the loop from the linked list, if present. s2- You have to make changes in the given linked list itself and return the updated linked list.
Expected Complexity: Try doing it in O(n) time complexity and O(1) space complexity. Here, n is the number of nodes in the linked list.
- Morning time
- Environment was good.
- No
- Interviewer was good



Given array/list can contain duplicate elements.
(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.
s1- You have been given an integer array/list(arr) and a number 'Sum'.
s2- Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.



For given 2D array :
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After 90 degree rotation in anti clockwise direction, it will become:
[ [ 3, 6, 9 ],
[ 2, 5, 8 ],
[ 1, 4, 7 ] ]
s1- You are given a square matrix of non-negative integers of size 'N x N'.
s2- Your task is to rotate that array by 90 degrees in an anti-clockwise direction without using any extra space.

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?