LeetCode: Random Pick Index Posted on August 6, 2018July 26, 2020 by braindenny Random Pick Index Continue reading “LeetCode: Random Pick Index”
LeetCode: Shuffle an Array Posted on March 15, 2018July 26, 2020 by braindenny Shuffle an Array Continue reading “LeetCode: Shuffle an Array”
LeetCode: Linked List Random Node Posted on March 15, 2018July 26, 2020 by braindenny Linked List Random Node Continue reading “LeetCode: Linked List Random Node”
LeetCode: Insert Delete GetRandom O(1) Posted on January 10, 2018July 26, 2020 by braindenny Design a data structure that supports reqiured operations in O(1) time. Continue reading “LeetCode: Insert Delete GetRandom O(1)”