runme | ||||
---|---|---|---|---|
|
It was written
-
in c++23, but uses only up to c++17 features .
-
the coding styles would be as follows
snake_case
for variables and functionsPascalCase
for classes and structsUPPER_SNAKE_CASE
for macros and constantsusing namespace std;
is used in the global scope- maximize the usage of standard library
- minimize the usage of pointer
- only in linked list, tree and other data structures, in which, there has to be indefinite number of nodes, pointer is used so that struct can be validly defined. However, only use raw pointers instead of smart pointers.
- minimize the usage of bitwise operators, unless it is necessary. We believe that compilers are smart enough to optimize the code.
-
Segment Tree
-
Binary Indexed Tree
-
Shortest path
-
Minimal Spanning Tree
-
Other Tree-Related
-
Bisect
-
Sort
-
Other Graph-Related
-
Geometry
-
Uncategorized