employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged employer

Tata Consultancy Services interview question

Finding missing element from a array containing 0 to 20

Interview Answer

Anonymous

Jan 4, 2021

I had to write the code in notepad, just the functional part. It was a sorted array so just had to check if arr[i ]+1==arr[i +1].