Pagini recente » Diferente pentru blog/combinatorics-shortlist intre reviziile 7 si 8 | Diferente pentru blog/finala-algoritmiada-2016 intre reviziile 3 si 2 | Diferente pentru blog/se-apropie-acmul intre reviziile 3 si 2 | Diferente pentru blog/interviu-subset-consecutiv-maxim intre reviziile 1 si 2 | Diferente pentru blog/count-distinct-2 intre reviziile 3 si 2
Nu exista diferente intre titluri.
Diferente intre continut:
_Here's a fun question I've heard recently:_
Website visit counter: Given n log lines from a website, design a datastructure that can respond to count_distinct queries efficiently. Log lines are given in order and contain a timestamp (int64) and a user_id (int_64). count_distinct queries have a two int64 parameters: start_time and end_time. For each query you have to return the number of distinct users that have visited the website in the time range [start_time, end_time].
Website visit counter: Given n log lines from a website, design a datastructure that can respond to count_distinct queries efficiently. Log lines are given in order and contain a timestamp (int64) and a user_id (int_64). count_distinct queries have a two int64 parameters: start_time and end_time. For each query you have to return the count of distinct user_ids within that time range.
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.