Deep tech knowledge is required today, so vastly language knowledge is getting obsolete. There will be a concentration of High IQ People who are doing everything.
@srishticodes 1)Out of bounds error due to indexing the length of the array
2)mid calculation in some languages can exceed normal int range therefore left + (right- left) / 2 would be a better choice
3)this will run an infinite loop so doing left = mid + 1 and right = mid - 1 would be better