A Guide to Understanding Binary SearchBinary Search - the algorithm and its implementation in JavaScript and Golang