Files for implementation of a Treap in C#. Treap supports both indexing by a key value or by using an implicit index. The code was written to solve the "Array and simple queries" problem in Hacker Rank:
https://www.hackerrank.com/challenges/array-and-simple-queries/problem
This solution received a 100% completion rate, and works on large data sets. See comments in code for description of implicit indexing and how it is implemented.
Tested using Visual Studio 2017 Community edition on Windows 10.