Hash Table

Delete and Earn

This tutorial will show some algorithms to solve Delete and Earn problem that often appears in coding interview or competitive programming contest.

Posted September 24, 2022 by Hary Prabowo Suryoatmojo ‐ 5 min read

Insert Delete GetRandom O(1)

This tutorial will show how to design RandomizedSet class that has average O(1) time complexity for each Insert, Delete and GetRandom functionality

Posted November 28, 2021 by Hary Prabowo Suryoatmojo ‐ 3 min read

Top K Frequent Elements

This tutorial will show some algorithms to solve Top K Frequent Elements problem.

Posted November 24, 2021 by Hary Prabowo Suryoatmojo ‐ 9 min read

Top K Frequent Words

This tutorial will show some algorithms to find Top K Frequent Words in an array of strings.

Posted November 14, 2021 by Hary Prabowo Suryoatmojo ‐ 2 min read

Intersection of Two Linked Lists

This tutorial will show some algorithms to find the intersection of two linked lists.

Posted October 26, 2021 by Hary Prabowo Suryoatmojo ‐ 4 min read

Happy Number Problem

This tutorial will show some algorithms to check whether a number is happy or not.

Posted October 8, 2021 by Hary Prabowo Suryoatmojo ‐ 6 min read