Qingquan Li

Results 164 issues of Qingquan Li

`GameTeam/Player.h` ```c++ #ifndef GAMETEAM_PLAYER_H #define GAMETEAM_PLAYER_H #include using namespace std; class Player { private: string name; int score; public: void setName(string); void setScore(int); string getName() const; int getScore() const; };...

C++

# 1. What is STL vector > Concept: The Standard Template Library offers a `vector` data type, which in many ways, is superior to standard `arrays`. The ***Standard Template Library***...

C++

# 1. Create SSH Key Generate a unique SSH key for second GitHub account. ```bash $ ssh-keygen -t ed25519 -C "[email protected]" Generating public/private ed25519 key pair. Enter file in which...

Git

Reference: Design Thinking in Agile: https://scaledagileframework.com/design-thinking # What is Design Thinking? 1. A methodology to create innovative and usable products, services and experiences. 2. Creative problem solving. 3. Applicable to...

Others
Design

# 1. What is Agile? - History: Business requirements change quickly while the technology is still under development. (Compared to the Waterfall software development model). Agile Manifesto (with 12 principles)...

Others

> When you cannot configure the CORS (Cross-Origin Resource Sharing) on the backend (API server), you can "bypass" the CORS restriction using the proxy. # 1. Bypass CORS with Nginx...

Network
Docker

# 1. Run Kubernetes Dashboard Locally (Use case: run Kubernetes Dashboard on a local macOS or Windows machine.) 1. Enable Kubernetes on Docker Desktop: https://docs.docker.com/desktop/kubernetes/ Or setup a Kubernetes cluster...

Kubernetes

# 1. Classless Inter-Domain Routing (CIDR) [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) was introduced to overcome the limitations of class-based addressing ([Classful network](https://en.wikipedia.org/wiki/Classful_network)). It allows for more flexible IP address allocation by using variable-length **subnet...

Network

# Python Bitwise Operators Bitwise operators are used to compare (binary) numbers: | Operator | Name | Description | Example | | :------- | :------------------- | :----------------------------------------------------------- | ------- |...

Python
Algorithms

```py def binary_search(lst: list, target_value: int) -> int: left_index: int = 0 right_index: int = len(lst) - 1 mid_index: int if target_value < lst[0] or target_value > lst[-1]: return -1...

Python
Algorithms