Qingquan Li

Results 164 issues of Qingquan Li

# 1. **Big-O** vs **Little-o** ## Big-O Notation O(g(n)) - **Big-O** notation describes an **upper bound** on the growth rate of a function. - It tells us that the function...

Algorithms

```py # Function to merge two sorted sub-arrays def merge(arr: list[int], p: int, q: int, r: int): left: list[int] = arr[p:q+1] # arr[p..q] right: list[int] = arr[q+1:r+1] # arr[q+1..r] i:...

Algorithms

# Why Database? Common website architecture: Frontend (user interface) - Backend (API, database...) UI (HTML, CSS, JavaScript) - API (Java) - Database (MongoDB) Similar examples from the real world: Restaurant...

Database

Git is a **distributed version control system** (DVCS) and SVN (Subversion) is a **centralized version control system** (CVCS), their commands differ in many ways, but both serve similar fundamental purposes...

Git