Hi Saikiran, It depends a lot on where you did your college from. Also, from where you got your 1 year experience. If you see this disparity of the package is everywhere in the IT industry. Two individuals with the same experience may have different packages.
Bro if you take array {1,5,3,4,3,6,5} then according to your program it will give output-3 But the correct output is -5 Plese take this array in your program then tell me please.
You are right bro, two things to change. We have to run loop from arr.length-1 to 0 instead of 0 to arr.length-1. Also, we need to remove the break statement. Thanks for pointing out.
set.add(ele) -> returns false for the repeated ele. if(!set.add(ele)) { syso("first repeated element" +ele)}
How can we get call now a days the call I don't get can you suggest something please
My cousin started his career as a fresher on Amdocs 10LPA. How this 1 year experience guy gets 4LPA. Can cloud tech justify this.
Hi Saikiran,
It depends a lot on where you did your college from. Also, from where you got your 1 year experience.
If you see this disparity of the package is everywhere in the IT industry.
Two individuals with the same experience may have different packages.
Bro if you take array {1,5,3,4,3,6,5} then according to your program it will give output-3
But the correct output is -5
Plese take this array in your program then tell me please.
Hi Bro,
Let me check.
You are right bro, two things to change.
We have to run loop from arr.length-1 to 0 instead of 0 to arr.length-1.
Also, we need to remove the break statement.
Thanks for pointing out.
@@cloudtech5260 if we do this type check this array {1,5,3,5,8,8} it will give output-8 where as the correct output-5 please check this array.