Accessing the discussion forum in O(1) time !

let's take an example to explain this dilema of reading solutions in optimal time :)

suppose If a user is not getting solution after solving a question for couple of minutes , and he/she want to read the solution of another user in discussion section but user has very limited time for that say 3 minutes at max, then whose solution should be picked first ? solution with most votes , newest solution or the person with much more reputation?

the constraints are :
the most unique solutions should be read
the solution with unique technique and unique logic must be read atleast once,
i.e. If user want to read all possible best k solutions for the question, then he must be able to get those through discussion forum within 3 minutes of time

how can I read more unique solutions in just one go without getting TLE ?

this is the challenge and need here solution from experts...

Comments (1)