Find Biggest Difference in Array such that Larger element appears after the Smaller element
Condition
smallest number must first and biggest number will be later than smallest number.
[7,1,5,3,6] -> 5 (1-6) 7 will be ignored
if there are more than two list, bigger different number will show
[6,7,1,3,5] -> 1 (7-6) , 4 (5-1) -> 4
JAVA cod...
eunhanlee.hashnode.dev1 min read
Developer Avocado
Frontend developer. Debugging this world one console.log() at a time
Thanks for explanation ๐