Skip to content

Commit 1a981df

Browse files
committed
feat: add question #09
0 parents  commit 1a981df

37 files changed

+3051
-0
lines changed

.gitignore

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
# Windows:
2+
Thumbs.db
3+
ehthumbs.db
4+
Desktop.ini
5+
6+
# Python:
7+
*.py[cod]
8+
*.so
9+
*.egg
10+
*.egg-info
11+
dist
12+
build
13+
migrations
14+
15+
#Django
16+
*.egg-info
17+
*.pot
18+
*.py[co]
19+
.tox/
20+
__pycache__
21+
MANIFEST
22+
dist/
23+
docs/_build/
24+
docs/locale/
25+
node_modules/
26+
tests/coverage_html/
27+
tests/.coverage
28+
build/
29+
tests/report/
30+
31+
#--------------------------------
32+
__pycache__/
33+
*.py[cod]
34+
*$py.class
35+
36+
# C extensions
37+
*.so
38+
39+
# Distribution / packaging
40+
.Python
41+
env/
42+
build/
43+
develop-eggs/
44+
dist/
45+
downloads/
46+
eggs/
47+
.eggs/
48+
lib/
49+
lib64/
50+
parts/
51+
sdist/
52+
var/
53+
*.egg-info/
54+
.installed.cfg
55+
*.egg
56+
57+
# PyInstaller
58+
# Usually these files are written by a python script from a template
59+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
60+
*.manifest
61+
*.spec
62+
63+
# Installer logs
64+
pip-log.txt
65+
pip-delete-this-directory.txt
66+
67+
# Unit test / coverage reports
68+
htmlcov/
69+
.tox/
70+
.coverage
71+
.coverage.*
72+
.cache
73+
nosetests.xml
74+
coverage.xml
75+
*,cover
76+
.hypothesis/
77+
78+
# Translations
79+
*.mo
80+
*.pot
81+
82+
# Django stuff:
83+
*.log
84+
local_settings.py
85+
86+
# Flask stuff:
87+
instance/
88+
.webassets-cache
89+
90+
# Scrapy stuff:
91+
.scrapy
92+
93+
# Sphinx documentation
94+
docs/_build/
95+
96+
# PyBuilder
97+
target/
98+
99+
# IPython Notebook
100+
.ipynb_checkpoints
101+
102+
# pyenv
103+
.python-version
104+
105+
# celery beat schedule file
106+
celerybeat-schedule
107+
108+
# dotenv
109+
.env
110+
111+
# virtualenv
112+
venv/
113+
ENV/
114+
115+
# Spyder project settings
116+
.spyderproject
117+
118+
# Rope project settings
119+
.ropeproject
120+
121+
database/
122+
media/
123+
whoosh_index/
124+
.idea/
125+
*.sqlite3
126+
fabfile.py
127+
128+
129+
130+
#--------------------------------
131+
132+
133+
#java
134+
*.class
135+
136+
# Package Files #
137+
*.jar
138+
*.war
139+
*.ear
140+
141+
# Mobile Tools for Java (J2ME)
142+
.mtj.tmp/
143+
144+
145+
# My configurations:
146+
db.ini
147+
deploy_key_rsa
148+
149+
# Package Files #
150+
*.jar
151+
*.war
152+
*.ear
153+
154+
#phpstorm
155+
*.idea
156+
157+
#过滤数据库文件、sln解决方案文件、配置文件
158+
*.mdb
159+
*.ldb
160+
*.sln
161+
*.config
162+
163+
#other
164+
data/error/
165+
.idea*/
166+
.idea/
167+
*.htm
168+
169+
# 忽略名称中末尾为ignore的文件夹
170+
*ignore/
171+
*ignore*/
172+
173+
174+
175+
176+
# Logs
177+
logs
178+
*.log
179+
npm-debug.log*
180+
# Runtime data
181+
pids
182+
*.pid
183+
*.seed
184+
*.pid.lock
185+
# Directory for instrumented libs generated by jscoverage/JSCover
186+
lib-cov
187+
# Coverage directory used by tools like istanbul
188+
coverage
189+
# nyc test coverage
190+
.nyc_output
191+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
192+
.grunt
193+
# Bower dependency directory (https://bower.io/)
194+
bower_components
195+
# node-waf configuration
196+
.lock-wscript
197+
# Compiled binary addons (http://nodejs.org/api/addons.html)
198+
build/Release
199+
# Dependency directories
200+
node_modules/
201+
jspm_packages/
202+
# Typescript v1 declaration files
203+
typings/
204+
# Optional npm cache directory
205+
.npm
206+
# Optional eslint cache
207+
.eslintcache
208+
# Optional REPL history
209+
.node_repl_history
210+
# Output of 'npm pack'
211+
*.tgz
212+
# Yarn Integrity file
213+
.yarn-integrity
214+
# dotenv environment variables file
215+
.env
216+
.vscode
217+
# ignore sh
218+
sh/
219+
# ignore test sdk.config.json
220+
sdk.config.json
221+
# ignore local config
222+
server/config.local.js
223+
224+
225+
#-------android
226+
# Built application files
227+
#*.apk
228+
*.ap_
229+
230+
# Files for the ART/Dalvik VM
231+
*.dex
232+
233+
# Java class files
234+
*.class
235+
236+
# Generated files
237+
bin/
238+
gen/
239+
out/
240+
241+
# Gradle files
242+
.gradle/
243+
build/
244+
245+
# Local configuration file (sdk path, etc)
246+
local.properties
247+
248+
# Proguard folder generated by Eclipse
249+
proguard/
250+
251+
# Log Files
252+
*.log
253+
254+
# Android Studio Navigation editor temp files
255+
.navigation/
256+
257+
# Android Studio captures folder
258+
captures/
259+
260+
# Intellij
261+
*.iml
262+
.idea/
263+
264+
# Keystore files
265+
*.jks
266+
267+
# External native build folder generated in Android Studio 2.2 and later
268+
.externalNativeBuild
269+
270+
# DS_Store files
271+
*.DS_Store
272+
273+
.MWebMetaData/
274+
gradle.properties

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.19)
2+
project(Leetcode_Solution_C_C__)
3+
4+
set(CMAKE_CXX_STANDARD 14)
5+
6+
add_executable(Leetcode_Solution_C_C__ main.cpp code/_19/Solution.cpp code/common/ListNode.h)

0 commit comments

Comments
 (0)