Skip to content

Instantly share code, notes, and snippets.

@Soyn
Last active November 3, 2015 18:14
Show Gist options
  • Save Soyn/2e33ac9d64f1fc59cc19 to your computer and use it in GitHub Desktop.
Save Soyn/2e33ac9d64f1fc59cc19 to your computer and use it in GitHub Desktop.

I-SUCESSOR(T,x,i)

  1. y <-- OS-RANK(T,x)
  2. r <-- OS-SELECT(T,y + i)
  3. return r
@gzc
Copy link

gzc commented Nov 3, 2015

Yes, yours is better ! please merge to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment