did some hackerranking