Tip 1 : Do 2 projects.
Tip 2 : Practice data structures programs.
Tip 3 : Take a course on Coding Ninjas.
Tip 1 : Keep it short.
Tip 2 : Do not put false things on resume.
Timing was 9: 30 AM. Platform was quite good and easy to understand.
1. All the elements are in the range 0 to N - 1.
2. The elements may not be in sorted order.
3. You can return the duplicate elements in any order.
4. If there are no duplicates present then return an empty array.
Choose an integer ‘K’ where 1 <= ‘K’ <= ARR.LENGTH.
Reverse the sub-array ARR[0, , ,K-1] (0-indexed).
1. The array given will have elements between 1 to ‘N’, where N is the size of the array, and all elements of the array will be unique.
2. Any valid answer that sorts the array within 10 * array’s length flips will be judged as correct.
3. If the array is already sorted return an empty list.
If ARR = [3,2,1] and we performed a pancake flip choosing K = 3, we reverse the sub-array [3,2,1], so ARR = [1,2,3] . Hence the array becomes sorted therefore return {3}.
Timing was 9:30 AM. The interviewer was very nice.
Fn = F(n-1) + F(n-2)
Write SQL query to find second highest salary from a Table.
Timing was 12 PM. Interviewer was not good.
Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
What is Normalization and 3NF?
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you create a function in JavaScript?