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
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
Frequency Queries
Submission Build index on the number of occurrences Otherwise, in linear query, one case will exceed the time limit