Skip to content

Instantly share code, notes, and snippets.


Sun Junyi fxsjy

  • Tencent
  • Beijing, China
View GitHub Profile
fxsjy /
Created September 12, 2012 06:40 — forked from yongsun/
find nth integer in distributed env
import numpy.random as random
from bisect import bisect_left, bisect_right
class SlaveNode:
def __init__ (self, data): = sorted(data)
def get_range (self):