Tip 1: Try to build projects using new emerging technologies like AI/ML, Neural Networks & Deep Learning, Cloud Computing, etc.
Tip 2: Try to solve problems involving all types of data structures.
Tip 1: Try to build a one-page resume and include only your practical work.
Tip 2: Have some projects listed on your resume.
50 aptitude questions on various topics for 60 minutes, and 1 medium-level DSA-based coding question for 30 minutes.



A subarray is a contiguous subset of an array.
The array may contain duplicate elements.
The given array follows 0-based indexing.
It is guaranteed that there exists at least one subarray of size K.
I used the Sliding Window + Deque approach.
Here, the deque is used to store the indices of array elements.
Now, iterate through the array:
-Remove indices that are out of the current window.
-Remove smaller elements from the back of the deque.
-Add the current index to the deque.
-Add the maximum element of the current window to the result.
This is an online interview conducted on Microsoft Teams Meetings. In this interview, a panel of three members is present to ask technical questions (based on DSA, OOPs, DBMS, Software Engineering), HR and MR questions, and discuss projects.
Tip 1: Take a small pause and give your answer politely.
Tip 2: If you don’t know the answer, simply say, "Sorry, sir, I don’t know the answer," and move to the next question.
Tip 3: Practice SQL queries regularly.



If the string is “bca”, then its permutations in lexicographically increasing order are { “abc”, “acb”, “bac”, “bca”, “cab”, “cba” }.
Given string contains unique characters.
I created a recursive function: void permutation(int left, int right, string &s, vector<string> &ans). It swaps characters to generate permutations recursively. Once left equals right, it pushes the current permutation into the result vector.
After exploring one permutation, the swap(s[left], s[j]) call ensures that the string is restored to its previous state for other possibilities.
Sorting:
Sorting the input string before starting helps generate permutations in lexicographical order.
The driver function AllPerm(string &s) initializes the result vector and calls the recursive function.

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