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

Tutorials

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

Median of Two Sorted Arrays

This tutorial will show some algorithms to find median of two sorted arrays.

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

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

How to Detect Cycle in a Linked List

This tutorial will show you some algorithms to detect whether a Linked List contains a cycle.

Posted March 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

C# Enum

In C#, Enum is a value type whose members are named constant and its underlying value is integer.

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

Fix Invalid Filename Deployment Error in Hugo

This tutorial will show you how to fix 'Invalid Filename: Deployed filenames cannot contain # or ? characters' Deployment Error in Hugo.

Posted February 14, 2021 by Byte in The Sky ‐ 2 min read

Adding Content Security Policy (CSP) to Hugo Site

This tutorial will show you how to add Content Security Policty (CSP) to Hugo site.

Posted February 4, 2021 by Byte in The Sky ‐ 2 min read

Func and Action Equivalent in Java

This tutorial will show you how to achieve Func and Action functionality in Java.

Posted January 27, 2021 by Byte in The Sky ‐ 2 min read

How to Add Google Analytics to Hugo Site

This tutorial will show you how to add Google Analytics to Hugo site.

Posted January 17, 2021 by Byte in The Sky ‐ 2 min read

How to Add and Modify Hugo Syntax Highlighting

This tutorial will show you how to add and modify Hugo Syntax Highlighting.

Posted January 13, 2021 by Byte in The Sky ‐ 2 min read

How to Create Hugo Site

This tutorial will show you how to create a static website based on Hugo.

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