Skip to content

Instantly share code, notes, and snippets.

@cnblogs-dudu
Created November 26, 2016 09:18

Revisions

  1. cnblogs-dudu created this gist Nov 26, 2016.
    9 changes: 9 additions & 0 deletions .txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    i(i<j)

    ```javascript
    function binarySearch1(a, target) {
    while(start <= end) {
    var mid = ~~((start + end) >> 1);
    }
    }
    ```