My issue
Learning course: Learn Advance Java
Problem Link: CodeChef: Practical coding for everyone
@vaibhavsxn10
The correct answer would be banana , as the code will traverse thro your array and select the largest word present in the array .
The condition present there does this work in the code by updating the longest word and storing it !!
hope this helps!!