India’s Best Job Seekers and Training Platform Forums Data Structure Design a data structure to keep track of top k elements …

  • Design a data structure to keep track of top k elements …

     Akash  updated 10 months, 2 weeks ago 1 Member · 1 Post
  • Akash 

    Administrator
    at

    Design a data structure to keep track of top k elements out of 2 billion records.
    Each record is numberd with a key which is 30 bit and a number which is count of how many times the customer has visited us.
    Come up with an data structure so that the updation of element in 2 billion records will be faster.
    Getting top k element will be faster.

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 21st September 2020. Attend one week free demo classes.Register Now

New Report

Close