Adarsh Mishra
Adarsh Mishra

Adarsh Mishra

Follow
homebadges

Hashing Data Structure

Oct 22, 20222 min read

Why Hashing? To get O(1) insertion and O(1) search. You take a set of elements that are sparsely populated across large domains and you use a...

Hashing Data Structure

Prefix Sum in Array

Apr 3, 20223 min read

If you are given an array A with elements [-2,6,4,1,8] and you need to find the sum of subarray. How will you find? Let's say you need to find the...

Prefix Sum in Array