PWN>Theory

Endianness

Endianness is a quite simple concept. They are 2 types of endianness: big endian and little endian. Nowadays most machines use little endian but...

PWN>Theory

Assembly

Assembly SyntaxThere are 2 types of styles of assembly code: Intel and AT&T. The main difference is: In Intel syntax the first operand is the...

OS

Pipe System Call

Pipe is a mechanism of inter-process communication (IPC). There are 2 types of pipe: unnamed pipe and named pipe. For unnamed pipe, they can only...

OS

Virtual Machine

What is virtual machine?Virtual machine is software to simulate different OSes on one single physical machine. By adopting this technology, the...

LeetCode

Two Sum

Link to Problem This is the very beginning of LeetCode, where the dream starts (or ends 🤣). Enjoy your journey! Problem...

LeetCode

Permutations

Link to Problem Problem Description1234567891011121314151617181920Given an array nums of distinct integers, return all the possible permutations....