05: Finding the 2nd highest number in an array

Requirements gathering Does the array allow duplicates? If duplicates are allowed, then do you need to report duplicates? For example, in {2,4, 6, 3, 6, 5}, is 6 or 5 the second highest? Analysis If duplicates are not allowed, sort…

Members Only Content

Log In Register Home


Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories. A few Q&As each day will help you fast-track & eventually go places. Mobile friendly to learn proactively & continuously on the go with lots of “Aha” moments to broaden your know-hows & horizons.
Why Java-Success.com?
Why Java-success.com? | What are the benefits? 1800+ Registered users.

800+ Java Interview Q&As

Top