Description Submission
Insert a node at the head of a linked list
Description Submission
Insert a Node at the Tail of a Linked List
Description Submission
Sparse Arrays
Description Submission O((n+q)lgn) May also solve the problem with hash map
Left Rotation
Description Submission References insert: http://www.cplusplus.com/reference/vector/vector/insert/ vector constructor: http://www.cplusplus.com/reference/vector/vector/vector/
Fraudulent Activity Notifications
Description Submission Counting sort O(200N) When d is even and d/2, d/2+1 lies in the middle is a special case