Hi
On special occasion of crossing 2048 subs, here is my 2nd special video!
Next special video after crossing 4096 subscribers.
Video Link: https://goo.gl/XsfP9h
This video talks about Policy Based Data Structures, an unexplored and alien data structure that already exists in C++.
The data structure is capable of:
- Adding/Removing elements
- Find the K-th smallest element
- Find the no of elements less than a given X
1st Special Video: https://goo.gl/Xzn6h6 (Wavelet Trees)
Source Code in C++: https://goo.gl/acF6sF
Problem Links:
- http://acm.timus.ru/problem.aspx?space=1&num=1028
- http://acm.timus.ru/problem.aspx?space=1&num=1090
- http://acm.timus.ru/problem.aspx?space=1&num=1521
- http://acm.timus.ru/problem.aspx?space=1&num=1439
Solution Links:
Happy Coding!
I learnt this long back when I read an article on Codeforces: https://goo.gl/mY6381
My Profile Links:
Facebook Page ► http://fb.me/LearningAlgorithmsWithRachitJain
Competitive Programming Blog ► http://rachitiitr.blogspot.com
CodeForces ► http://www.codeforces.com/profile/rachitjain
CodeChef ► http://www.codechef.com/users/rachitiitr