$$ \newcommand\Tr{\mathrm{Tr}} \newcommand{\braket}[2]{\langle #1 \mid #2 \rangle} \newcommand\I{\mathbb{I}} \newcommand{\avg}[1]{\left< #1 \right>} \newcommand{\RD}{D} \newcommand{\ri}{\mathrm{i}} \DeclareMathOperator{\sign}{sign} \DeclareMathOperator{\Sign}{Sign} \newcommand{\ii}{\mathrm i} \newcommand{\vv}{\mathrm v} \newcommand{\ff}{\mathrm f} \newcommand{\mm}{\mathrm m} \newcommand{\ee}{\mathrm e} \newcommand{\xx}{\mathrm x} \newcommand{\RR}{\mathrm R} \newcommand{\dd}{\mathrm d} \newcommand{\FF}{\mathrm F} \newcommand{\BB}{\mathrm B} \newcommand{\vph}{v_{\mathrm{ph}}} $$

Hash Table

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

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