huatxu / Fraudulent-activity-notifications

Hackerrank sorting problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fraudulent-activity-notifications

Just another Hackerrank problem about calculating running medians.

I have done it by using Counting Sort and calculating the bin in the frequency table where the median lies.

I believe this solution to run in linear time O(n).

About

Hackerrank sorting problem


Languages

Language:JavaScript 100.0%