Tip 1 : Focus on basics
Tip 2 : Utterly understanding of syntax of programs
Tip 3 : Always answer with full confidence
Tip 1 : Mention the skills that you are completely confident with
Tip 2 : Always be aware of all the points that you have mentioned in your resume
MCQs + coding round
Given students' ratings : [5, 8, 1, 5, 9, 4].
He gives the students candy in the following minimal amounts : [1, 2, 1, 2, 3, 1]. He must buy a minimum of 10 candies.
1. If two students having the same grade are standing next to each other, they may receive the same number of candies.
2. Every student must get at least a candy.
Coding round
If there is no prime factor of a given integer, then print -1.
TR+HR+MR
Input:
'a' = 8, 'b' = 5
Output:
5 8
Explanation:
Initially, the value of 'a' and 'b' is 8 and 5, respectively.
After swapping, the value of 'a' is 5, and the value of 'b' is 8.
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?