Java Interview Question: Find out the missing number in an integer array

preview_player
Показать описание
Java Interview Question: Find out the missing number in an integer array

~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Naveen AutomationLabs Paid Courses:
Java & Selenium:

Java & API +POSTMAN + RestAssured + HttpClient:
Рекомендации по теме
Комментарии
Автор

I found many unexpected things on this channel, Sharing awesome knowledge sir. Thanks. keep it up.

niravdaskubavat
Автор

Sir I have I more way to solve this question. If the array is in sorted order, then we can compare the index of the array to the element. i +1 == element. If it's not, we got the missing number

tusharjindal
Автор

Thank you Naveen, this channel is very useful. I'm learning to think more intelligently. I was just wondering if you could also sort the array and find the difference between consecutive terms to find the missing number.

rafdnaah
Автор

Sincerely wanted to thankyou Naveen sir ..I would call you sir ..coz one time I left the hope coz I was working with nvidia but due to personal reasons I resigned..in covid I lockdown I have gone through every videos of you ..and today I got job with hudge package .. sincerely thanks once again from bottom my heart ...ur amazing human being...if God gives me chance to meet you in life I loved to meet you...tnq 🙏

saurabhargulwar
Автор

Hey naveen your videos are awesome!! I attended an interview recently they asked we have 100 methods and all the 100 methods having try catch block, how you will write a common method for try catch block to use those 100 methods.. If you know can you make a video on that or any links if you provide will be helpful to understand how to do that

abivaradharajan
Автор

As a mechanical engineering graduate, I am feeling like graduated in computer science after watching these precious videos- thanks a ton Naveen.
Request - Can you please make a video on how to transponse a matrix and compare them?

vinayakavinaybelur
Автор

Your videos are super useful sir. Keep going 🙏🏼🙏🏼

tusharjindal
Автор

Hi Naveen you are creating awesome things. Thanks for that. Please keep doing it. I have one thing in mind if the integer array consists negative numbers, will this work?

chandranathchatterjee
Автор

Hi Sir you videos has helped me alot but still i feel nervous in giving interviews what should i do practice more or i am lacking something thank you
you are life saver.

alkeshbabani
Автор

Hello! Will this give you an error if you have an uneven array, since you did integer division in the figure?

MatthewA
Автор

Hi Naveen, very nice explanation. This works only for natural numbers right ? Could you also create a video for any other progression ?

Siju
Автор

Thanks for sharing good content to the world sir. Please let us know when is the next batch for live training for selenium with Java. Very eager to attend your sessions.

swathia
Автор

Hi Naveen,
I am trying to implement this framework with some other way, but I didn't get solution, plz help me on this.
1. Test cases excel file having 2 sheets
2. Sheet1 name - Master- this sheet having TC_ID, Test Case Name and Flag. Flag values either Yes or No.
3. Sheet 2 name '- Test Case Details:
This sheet having TC_ID, Test Case Name, Steps, LocaterType, LocatorValue, Test Data, Actions

My requirement is read the Test case details from sheet 1 where Flag value as Yes, then execute same Test case steps from sheet 2. If Flag is No, then don't execute that Test case.

Please help me on this scenario.
Thanks in advance

HarikrishnaParvatam
Автор

Hi Naveen, thanks a lot. Can you please let us know how can we automate bookmarks in Selenium?. It was asked in one of the interview

veenatarak
Автор

Hi sir, I have 1 question, can u tell me how to select manual test cases for automation or which test cases should be selected for automation and why

raviraajdabde
Автор

I think we should use num.length instead of second argument in findMissingNumber function.

thirumoorthyc
Автор

Hello Naveen, can you please provide training videos on octane and how to run automation tests from it

harithaatkuridevotional
Автор

Naveen ..plz start Rest assured series..this is only series missing from your playlist..

sureshisoft
Автор

Thanks Naveen for this.Could you please provide solution for Java program for how to find non repetitive element in a string please.

sanketkale
Автор

Hi All, I know this is not the place for this type of comment. But, I read in FB, in one of the groups of NAL that Naveen Sir was diagnosed with Covid-19 and is recovering. If it is so, I sincerely pray for his speedy recovery and hope he will come of this pandemic soon. MAY GOD BLESS HIM...!!!.

MadirajuKChaitanya
visit shbcf.ru