Created
February 19, 2019 16:07
-
-
Save kisildev/2316f59990f71180f38bed933cb5d29d to your computer and use it in GitHub Desktop.
algorithm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// var c = floor(5 / 2) = 2 | |
// 5 + c | |
// ___________________ | |
// [0] [1] {2} [3] [4] [5] [6] {7} {8} [9] [10] | |
// ___________________ ____________________ | |
// 0 + c 6 + c | |
// var c = floor(3 / 2) = 1 | |
// 3 + c | |
// ___________ | |
// [0] {1} [2] [3] {4} [5] {6} [7] | |
// ___________ ___________ | |
// 0 + c 5 + c |
Author
kisildev
commented
Feb 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment