Implementing LCA (Lowest Common Ancestor) Query Using Binary Lifting

Here’s a implemention of finding LCA in C++ with detailed comments to help you understand this algorithm.

2024-07-15 · 4 min · 851 words · alikia2x

Passing Props in React Function Components

Recently discovered a subtle detail about passing props in React

2024-06-02 · 2 min · 376 words · alikia2x

The OSI Model

My learning notes about the OSI model

2024-04-09 · 5 min · 875 words · alikia2x

Get Current User in Bash

whoami
OR
echo $USER

2024-02-22 · 1 min · 6 words · alikia2x

Add a user to grop on Linux

usermod -a -G group user

2024-02-22 · 1 min · 164 words · alikia2x

Open swap on Linux

Quick tutorial to enable swap on Linux

2024-01-14 · 1 min · 37 words · alikia2x