Hey guys , can anyone solve this famous problem Flipping Coins(
https://www.codechef.com/problems/FLIPCOIN) in python using segment tree strictly, as every AC solution here using Python is done using numpy without actually implementing the segment tree .
Solution using Segment Tree
by sachin_19998 and moreover here you can find all the best data structures implemented in Python in most efficient way
1 Like