$$ \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}}} $$

Array

Paint House

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

Posted September 30, 2022 by Byte in The Sky ‐ 3 min read

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

House Robber II

This tutorial will show some algorithms to solve House Robber II problem that often appears in coding interview or competitive programming contest.

Posted September 23, 2022 by Byte in The Sky ‐ 5 min read

House Robber

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

Posted September 21, 2022 by Byte in The Sky ‐ 4 min read

Maximum Score from Performing Multiplication Operations

This tutorial will show some algorithms to solve Maximum Score from Performing Multiplication Operations problem.

Posted September 12, 2022 by Byte in The Sky ‐ 6 min read

Find the Kth Largest Integer in the Array

This tutorial will show some algorithms to find the Kth Largest Integer in an Array.

Posted December 14, 2021 by Byte in The Sky ‐ 4 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 Byte in The Sky ‐ 3 min read

Kth Largest Element in an Array

This tutorial will show some algorithms to find Kth Largest Element in an Array.

Posted November 28, 2021 by Byte in The Sky ‐ 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 Byte in The Sky ‐ 5 min read

Merge Intervals Problem

This tutorial will show you how to solve Merge Intervals problem.

Posted October 6, 2021 by Byte in The Sky ‐ 2 min read

Count Binary Substrings

This tutorial will show you how to solve Count Binary Substrings problem.

Posted October 5, 2021 by Byte in The Sky ‐ 2 min read

Minimum Time Visiting All Points

This tutorial will show you how to solve Minimum Time Visiting All Points problem.

Posted February 28, 2021 by Byte in The Sky ‐ 3 min read