2 programming questions Find the 2nd greatest in 2 different ways

AnswerBot
1y

Find the 2nd greatest in 2 different ways

  • Sort the array and return the second largest element

  • Use a loop to find the largest element and then find the second largest element

  • Use a priority queue to find...read more

Help your peers!
Add answer anonymously...

Mphasis Software Engineer interview questions & answers

A Software Engineer was asked 10mo agoQ. Explain data binding in Angular.
A Software Engineer was asked 11mo agoQ. Write a coding question using Java 8.
A Software Engineer was asked 12 May 2023Q. Explain the concepts of OOPS.

Popular interview questions of Software Engineer

A Software Engineer was asked 10mo agoQ1. Explain data binding in Angular.
A Software Engineer was asked 11mo agoQ2. Write a coding question using Java 8.
A Software Engineer was asked 12 May 2023Q3. Explain the concepts of OOPS.
Mphasis Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter