S
Shai Rosenfeld
given that time1 < time2 < time3 < time4 ... (and are all Time objects)
myarray= [ time1, time2, time3, time4, time5 , time6 , time7 , .. ]
special_sort(time4)= [ time3, time4, time5 ]
...basically, passing an arg of a certain obj in the array to a
"special_sort" func, how do i collect the "nearest" ones to it? thx for
any suggestions
myarray= [ time1, time2, time3, time4, time5 , time6 , time7 , .. ]
special_sort(time4)= [ time3, time4, time5 ]
...basically, passing an arg of a certain obj in the array to a
"special_sort" func, how do i collect the "nearest" ones to it? thx for
any suggestions