Bank of America interview question

Binary Search Algorithm was given via different syntax, first you had to decode and then debug it