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 Byte in The Sky ‐ 3 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 Byte in The Sky ‐ 6 min read