This file contains 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
#!/usr/bin/python | |
import numpy.random as random | |
from bisect import bisect_left, bisect_right | |
class SlaveNode: | |
def __init__ (self, data): | |
self.data = sorted(data) | |
def get_range (self): |