Is there any good tutorials on persistent data structures? ↵
↵
↵
I've seen many solutions for [this](http://mirror.codeforces.com/contest/707/problem/D) problem, some uses bitwise trick and some used graphs and dfs which i don't really get how can it be applied to such a problem.↵
↵
Would any of you mind explaining his approach?↵
↵
Many Thanks .
↵
↵
I've seen many solutions for [this](http://mirror.codeforces.com/contest/707/problem/D) problem, some uses bitwise trick and some used graphs and dfs which i don't really get how can it be applied to such a problem.↵
↵
Would any of you mind explaining his approach?↵
↵
Many Thanks




