Filter interviews by
A perfect number is a positive integer that is equal to the sum of its proper divisors.
Iterate through all numbers from 1 to n/2 and check if n is divisible by each number.
Sum up all the divisors and check if the sum is equal to n.
Top trending discussions
posted on 20 May 2024
I applied via AmbitionBox and was interviewed in Apr 2024. There were 2 interview rounds.
It check about your logical thinking and reasoning
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
It was js coding and react native related questions.
I applied via Job Portal and was interviewed in Jul 2022. There was 1 interview round.
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
Higher order component is a function that takes a component and returns a new component with additional functionality.
HOC is a design pattern in React
It allows code reuse, logic abstraction and composition
It can be used for cross-cutting concerns like authentication, logging, etc.
Example: WithAuth HOC that adds authentication logic to a component
Example: withRouter HOC that adds routing props to a component
Consultant
4
salaries
| ₹7.5 L/yr - ₹17.2 L/yr |
Senior Consultant
4
salaries
| ₹19 L/yr - ₹31 L/yr |
Software Engineer2
4
salaries
| ₹7 L/yr - ₹22.5 L/yr |
Associate Consultant
3
salaries
| ₹7.5 L/yr - ₹10.5 L/yr |
Senior Software Engineer
3
salaries
| ₹15 L/yr - ₹28 L/yr |
TCS
Infosys
Wipro
HCLTech