Filter interviews by
I applied via campus placement at Jaypee Institute of Information Technology, Noida and was interviewed before Sep 2023. There were 2 interview rounds.
General aptitude test and coding test on some website
Recursively find the sum of digits in a given number
Create a recursive function that takes in a number as input
Base case: if the number is less than 10, return the number
Recursive case: return the last digit of the number added to the result of calling the function with the number divided by 10
Example: For input 123, the sum of digits would be 1 + 2 + 3 = 6
To find some of each level in a tree, traverse the tree level by level and sum the values at each level.
Traverse the tree level by level using BFS (Breadth First Search)
At each level, sum the values of the nodes
Store the sum of each level in an array of strings
Top trending discussions
based on 1 interview
Interview experience
based on 1 review
Rating in categories
QA Engineer
26
salaries
| ₹2.5 L/yr - ₹6.2 L/yr |
Member Technical Staff
24
salaries
| ₹6 L/yr - ₹15 L/yr |
Software Developer
19
salaries
| ₹6 L/yr - ₹13 L/yr |
Data Scientist
16
salaries
| ₹9 L/yr - ₹21.5 L/yr |
Product Manager
12
salaries
| ₹10.5 L/yr - ₹38 L/yr |
Moonfrog Labs
Games2Win
Nazara Technologies
99Games