0
Slicing a list
Say I have Red = [1,2,3,4,5] How do I slice backward and foward leaving out 3? So that: Backward: Red_1 = [1,2] Foward: Red_2 = [4,5]
3 ответов
0
Jay Matthews is there are way (a) can be = 2 because I am writing binaru search algorithm
0
Not the most efficient way but thanks
0
Your binary search is very efficient. but I did it like this:
https://code.sololearn.com/clyjkVX33NK8/?ref=app