ARTICLE AD BOX
So I just gave an online assessment round for an intern position which required me to solve a DSA question. I am pretty sure I solved the question using the function correctly but the main function also required me take in the input.
It was not similar to leetcode questions I practice where you only need to fill in the function. How do I do this in Java?
Input was a standard array according to the question.
eg: Input [2, 3, 5, 4, 7 ,9, 8]
