Tip 1 : Practice Atleast 250 Questions of DSA
Tip 2 : Do atleast 2 projects
Tip 3 : Practice daily
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.
Tip 3 : Resume shouldn't be so long
Tip 4 : Upload projects on GitHub and provide links in resume
There were around 50 mcqs. The Topics of MCQs was : Quantative Aptitude , Qualitative Aptitude ,Automata fix questions ,DSA based questions and 2-3 coding questions were asked

N = 4
ARR =[ 1, 0, 3, 2 ]
If we swap ‘1’ and ‘0’ and ‘3’ and ‘2’, after applying these operations, our array becomes sorted. So ‘ANS’ is ‘1’.



You are given arr = {1, 3, 8, 6, 7}, then our answer will be 3.
Sorted form of arr = {1, 3, 6, 7, 8}. The maximum absolute difference between two consecutive elements is 6 - 3 = 3, which is the correct answer.



1) Get the number
2) Get the remainder and pass the next remaining digits
3) Get the rightmost digit of the number with help of the remainder '%' operator by dividing it by 10 and add it to sum.
Divide the number by 10 with help of '/' operator to remove the rightmost digit.
4) Check the base case with n = 0
5) Print or return the sum
Interviewer asked me theory questions from DS algo , DBMS , SQL queries and some coding questions



The idea is to use Hashing to solve this in O(n) time on average. We store elements and their counts in a hash table. After storing counts, we traverse input array again and print those elements whose counts are more than once. To make sure that every output element is printed only once, we set count as 0 after printing the element.



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) Divide the list in two parts - first node and
rest of the linked list.
2) Call reverse for the rest of the linked list.
3) Link rest to first.
4) Fix head pointer
What is Deadlock?



what are joins and tell me the types of Joins?
tell me about yourself
What are your projects and which technologies are used in them.
Tell me about your Strengths , weakness , in which situation you think you have the leadership qualities

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