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