Back to Browse

Persistent Trie - Codechef - GothamPD

8.5K views
May 24, 2017
19:53

This is a video editorial on the May 17 Long Challenge held at Codechef on the Gotham PD problem. We use a persistent trie data structure to solve for additions and queries efficiently. Jatin Yadav, who is one of India's top competitive programmers, explains the concept of persistent tries and how we implement the same to hit O(N*B) time complexity for this problem. Problem Statement: https://www.codechef.com/MAY17/problems/GPD Trie: https://youtu.be/YG6iX28hmd0 Persistent Segment Tree: https://youtu.be/TH9n_HVkjQM Code: https://www.codechef.com/viewsolution/13567354

Download

1 formats

Video Formats

360pmp452.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Persistent Trie - Codechef - GothamPD | NatokHD