You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-28Lines changed: 34 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,56 +4,62 @@ Welcome to the OpenLeetCode Project!
4
4
5
5
The motivation behind this project is to be able to practice LeetCode problems on a plane without requiring an internet connection (until Starlink ramps up). This project is not intended to replace or replicate leetcode.com.
6
6
7
-
## Table of Contents
8
-
9
-
1.[Windows Terminal](#windows-terminal)
10
-
1.[Build](#build)
11
-
2.[Run](#run)
12
-
1.[Windows Terminal](#windows-terminal-1)
13
-
2.[Unix](#unix)
14
-
2.[How To Use](#how-to-use)
15
-
3.[List of LeetCode Problems](#list-of-leetcode-problems)
16
-
4.[Usage](#usage)
17
-
5.[Note](#note)
18
-
6.[Requirements](#requirements)
19
-
7.[Contributing](#contributing)
20
-
21
-
## Windows Terminal
22
-
23
-
### Build
24
-
#### Building without UI
7
+
## Table of Content
8
+
-[OpenLeetCode - An open source version of LeetCode](#openleetcode---an-open-source-version-of-leetcode)
9
+
-[Table of Content](#table-of-content)
10
+
-[Screenshot](#screenshot)
11
+
-[Build](#build)
12
+
- [Building without UI](#building-without-ui)
13
+
- [Building with UI](#building-with-ui)
14
+
-[Run](#run)
15
+
- [CLI - Windows Terminal](#cli---windows-terminal)
16
+
- [CLI - Unix](#cli---unix)
17
+
- [UI - Windows Terminal](#ui---windows-terminal)
18
+
- [UI - Unix](#ui---unix)
19
+
-[How To Use](#how-to-use)
20
+
-[List of LeetCode Problems](#list-of-leetcode-problems)
21
+
-[Usage](#usage)
22
+
-[Note](#note)
23
+
-[Requirements](#requirements)
24
+
- [Additional Requirements for the UI](#additional-requirements-for-the-ui)
After the build succeeds, the following directory structure will be generated:
59
65
@@ -72,7 +78,7 @@ After the build succeeds, the following directory structure will be generated:
72
78
- launguage
73
79
- cpp
74
80
75
-
Just like for LeetCode you have one file where you solve the problem. For example, the problem called TwoSum has **problems/TwoSum/cpp/solution.cpp**. To add a new test cases you can create a file in **problems/TwoSum/testcases/** directory with file extension **.test** and the solution will automatically be tested against it.
81
+
Just like for LeetCode, you have one file where you solve the problem. For example, the problem called TwoSum has **problems/TwoSum/cpp/solution.cpp**. To add new test cases, you can create a file in the **problems/TwoSum/testcases/** directory with the file extension **.test**, and the solution will automatically be tested against it.
76
82
77
83
Each problem is described in the ***description.md*** file location in the problem's directory. For example ***problems/TwoSum/description.md***.
78
84
@@ -104,7 +110,7 @@ The problem names are automatically extracted from the **problems** folder.
OpenLeetCode problem builder. This script builds and tests a leetcode like problems locally. Currently, it only supports C++ language but it can be extended to support other languages.
113
+
OpenLeetCode problem builder. This script builds and tests LeetCode-like problems locally. Currently, it only supports the C++ language, but it can be extended to support other languages.
0 commit comments