Tip 1 : Do research on company
Tip 2 : be updated with technologies
Tip 3 : Spend more time on coding
Tip 1 : don't make it vast and extra
Tip 2 : must include projects and trainings
Timing was from 9 Am to 5 Pm evening



F(n) = F(n - 1) + F(n - 2),
Where, F(1) = 1, F(2) = 1
"Indexing is start from 1"
Input: 6
Output: 8
Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
The value N is a Positive integer that should be read from STDIN. The Nth term that is calculated by the program should be written to STDOUT. Other than the value of Nth term, no other characters/strings or message should be written to STDOUT.
For example, when N = 14, the 14th term in the series is 17. So only the value 17 should be printed to STDOUT



'ARR[]' = [1, 2]
The size of the array is 2. So, the total number of permutations is 2! = 2. The possible permutations are [1, 2] (the array itself) and [2,1] where the position of element 1 in the original array is swapped with element 2 and vice-versa.
1. All the numbers in the array are unique.
2. You can return the answer in any order.
3. The original array is also a permutation of the given array.
Maintain two variables num and den to store numerator and denominator.
We need to find n! and (n-r)!.
Traverse from 1 to n and multiple i by num to find n!.
Traverse from 1 to (n-r) and multiply i by den to find (n-r)!.
num/den is the final answer
30 min with 1 coding question



Bubble Sort implementation for the given array: {6,2,8,4,10} is shown below :-
Repeatedly swap 2 adjacent elements if arr[j] > arr[j+1] .
Here, the maximum element of the unsorted array reaches the end of the unsorted array after each iteration.
Unlike selection sort, here, sorting is done from the back as shown in the dry run.
After (N-1) iterations , we get a sorted array.
HR round with companies interviewer panel
1. Describe yourself.
2. I got the questions related to my project regarding open and closed loop of a control system.
3. Weaknesses and strengths.
Tip 1 : Go through your projects
Tip 2 : Research a little about company
Tip 3 : Remember the company values

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