Filter interviews by
Find the third maximum value in an array of strings.
Convert the array of strings to an array of integers for comparison.
Sort the array in descending order to easily find the third maximum value.
Handle cases where there are less than three unique maximum values.
Find the closest prime number to a given number.
Start checking for prime numbers from the given number and move outwards
Use a function to check if a number is prime
Keep track of the closest prime found so far
Top trending discussions
Interview experience
Software Engineer
45
salaries
| ₹2.4 L/yr - ₹6 L/yr |
Softwaretest Engineer
19
salaries
| ₹1.8 L/yr - ₹4.6 L/yr |
Software Developer
12
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Test Engineer
9
salaries
| ₹1.8 L/yr - ₹7 L/yr |
Web Developer
8
salaries
| ₹2.4 L/yr - ₹2.5 L/yr |
TCS
Infosys
Wipro
HCLTech