This is the question- CSES - Path Queries
My solution- https://cses.fi/paste/23dac3ea0d82a420228245/
Please help me, Idk why i am getting index out of bound in line no. 79.
I did make euler tour 2 correctly(well i think) therefore its size was desired to be 2*NumberOfNodes
but its size is coming out to be less then that.
I tried but didn’t found any problem