Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7d02dd3

Browse files
committed
Improve the code struct yooo :p
1 parent e2626c0 commit 7d02dd3

File tree

22 files changed

+434
-43
lines changed

22 files changed

+434
-43
lines changed

‎.gitignore

Lines changed: 271 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,276 @@
1+
### Maven template
12
target/
2-
!.mvn/wrapper/maven-wrapper.jar
3-
!**/src/main/**/target/
4-
!**/src/test/**/target/
5-
6-
### IntelliJ IDEA ###
7-
.idea/modules.xml
8-
.idea/jarRepositories.xml
9-
.idea/compiler.xml
10-
.idea/libraries/
11-
*.iws
12-
*.iml
13-
*.ipr
14-
15-
### Eclipse ###
16-
.apt_generated
17-
.classpath
18-
.factorypath
3+
pom.xml.tag
4+
pom.xml.releaseBackup
5+
pom.xml.versionsBackup
6+
pom.xml.next
7+
release.properties
8+
dependency-reduced-pom.xml
9+
buildNumber.properties
10+
.mvn/timing.properties
11+
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
12+
.mvn/wrapper/maven-wrapper.jar
13+
14+
# Eclipse m2e generated files
15+
# Eclipse Core
1916
.project
20-
.settings
21-
.springBeans
22-
.sts4-cache
23-
24-
### NetBeans ###
25-
/nbproject/private/
26-
/nbbuild/
27-
/dist/
28-
/nbdist/
29-
/.nb-gradle/
17+
# JDT-specific (Eclipse Java Development Tools)
18+
.classpath
19+
20+
### Java template
21+
# Compiled class file
22+
*.class
23+
24+
# Log file
25+
*.log
26+
27+
# BlueJ files
28+
*.ctxt
29+
30+
# Mobile Tools for Java (J2ME)
31+
.mtj.tmp/
32+
33+
# Package Files #
34+
*.jar
35+
*.war
36+
*.nar
37+
*.ear
38+
*.zip
39+
*.tar.gz
40+
*.rar
41+
42+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
43+
hs_err_pid*
44+
replay_pid*
45+
46+
### C++ template
47+
# Prerequisites
48+
*.d
49+
50+
# Compiled Object files
51+
*.slo
52+
*.lo
53+
*.o
54+
*.obj
55+
56+
# Precompiled Headers
57+
*.gch
58+
*.pch
59+
60+
# Compiled Dynamic libraries
61+
*.so
62+
*.dylib
63+
*.dll
64+
65+
# Fortran module files
66+
*.mod
67+
*.smod
68+
69+
# Compiled Static libraries
70+
*.lai
71+
*.la
72+
*.a
73+
*.lib
74+
75+
# Executables
76+
*.exe
77+
*.out
78+
*.app
79+
80+
### Rust template
81+
# Generated by Cargo
82+
# will have compiled files and executables
83+
debug/
84+
85+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
86+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
87+
Cargo.lock
88+
89+
# These are backup files generated by rustfmt
90+
**/*.rs.bk
91+
92+
# MSVC Windows builds of rustc generate these, which store debugging information
93+
*.pdb
94+
95+
### VirtualEnv template
96+
# Virtualenv
97+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
98+
.Python
99+
[Bb]in
100+
[Ii]nclude
101+
[Ll]ib
102+
[Ll]ib64
103+
[Ll]ocal
104+
[Ss]cripts
105+
pyvenv.cfg
106+
.venv
107+
pip-selfcheck.json
108+
109+
### JupyterNotebooks template
110+
# gitignore template for Jupyter Notebooks
111+
# website: http://jupyter.org/
112+
113+
.ipynb_checkpoints
114+
*/.ipynb_checkpoints/*
115+
116+
# IPython
117+
profile_default/
118+
ipython_config.py
119+
120+
# Remove previous ipynb_checkpoints
121+
# git rm -r .ipynb_checkpoints/
122+
123+
### Python template
124+
# Byte-compiled / optimized / DLL files
125+
__pycache__/
126+
*.py[cod]
127+
*$py.class
128+
129+
# C extensions
130+
131+
# Distribution / packaging
30132
build/
31-
!**/src/main/**/build/
32-
!**/src/test/**/build/
133+
develop-eggs/
134+
dist/
135+
downloads/
136+
eggs/
137+
.eggs/
138+
lib/
139+
lib64/
140+
parts/
141+
sdist/
142+
var/
143+
wheels/
144+
share/python-wheels/
145+
*.egg-info/
146+
.installed.cfg
147+
*.egg
148+
MANIFEST
149+
150+
# PyInstaller
151+
# Usually these files are written by a python script from a template
152+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
153+
*.manifest
154+
*.spec
155+
156+
# Installer logs
157+
pip-log.txt
158+
pip-delete-this-directory.txt
159+
160+
# Unit test / coverage reports
161+
htmlcov/
162+
.tox/
163+
.nox/
164+
.coverage
165+
.coverage.*
166+
.cache
167+
nosetests.xml
168+
coverage.xml
169+
*.cover
170+
*.py,cover
171+
.hypothesis/
172+
.pytest_cache/
173+
cover/
174+
175+
# Translations
176+
*.mo
177+
*.pot
178+
179+
# Django stuff:
180+
local_settings.py
181+
db.sqlite3
182+
db.sqlite3-journal
183+
184+
# Flask stuff:
185+
instance/
186+
.webassets-cache
187+
188+
# Scrapy stuff:
189+
.scrapy
190+
191+
# Sphinx documentation
192+
docs/_build/
193+
194+
# PyBuilder
195+
.pybuilder/
196+
197+
# Jupyter Notebook
198+
199+
# IPython
200+
201+
# pyenv
202+
# For a library or package, you might want to ignore these files since the code is
203+
# intended to run in multiple environments; otherwise, check them in:
204+
# .python-version
205+
206+
# pipenv
207+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
208+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
209+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
210+
# install all needed dependencies.
211+
#Pipfile.lock
212+
213+
# poetry
214+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
215+
# This is especially recommended for binary packages to ensure reproducibility, and is more
216+
# commonly ignored for libraries.
217+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
218+
#poetry.lock
219+
220+
# pdm
221+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
222+
#pdm.lock
223+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
224+
# in version control.
225+
# https://pdm.fming.dev/#use-with-ide
226+
.pdm.toml
227+
228+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
229+
__pypackages__/
230+
231+
# Celery stuff
232+
celerybeat-schedule
233+
celerybeat.pid
234+
235+
# SageMath parsed files
236+
*.sage.py
237+
238+
# Environments
239+
.env
240+
env/
241+
venv/
242+
ENV/
243+
env.bak/
244+
venv.bak/
245+
246+
# Spyder project settings
247+
.spyderproject
248+
.spyproject
249+
250+
# Rope project settings
251+
.ropeproject
252+
253+
# mkdocs documentation
254+
/site
255+
256+
# mypy
257+
.mypy_cache/
258+
.dmypy.json
259+
dmypy.json
260+
261+
# Pyre type checker
262+
.pyre/
263+
264+
# pytype static type analyzer
265+
.pytype/
266+
267+
# Cython debug symbols
268+
cython_debug/
33269

34-
### VS Code ###
35-
.vscode/
270+
# PyCharm
271+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
272+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
273+
# and can be added to the global gitignore or merged into this file. For a more nuclear
274+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
275+
#.idea/
36276

37-
### Mac OS ###
38-
.DS_Store

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
[![CodeFactor](https://www.codefactor.io/repository/github/anas-elgarhy/leetcode/badge)](https://www.codefactor.io/repository/github/anas-elgarhy/leetcode)
88

99
## Problems
10-
- [Easy](./src/main/java/com/anas/leetcode/easy)
11-
- [Roman to Integer](./src/main/java/com/anas/leetcode/easy/RomanToInteger.java), [Problem in leetcode](https://leetcode.com/problems/roman-to-integer/)
12-
- [Longest Common Prefix](./src/main/java/com/anas/leetcode/easy/LongestCommonPrefix.java), [Problem in leetcode](https://leetcode.com/problems/longest-common-prefix/)
10+
- [Easy](./easy)
11+
- [Roman to Integer](./easy/roman_to_integer/java/src/main/java/com/anas/leetcode/easy/RomanToInteger.java), [Problem in leetcode](https://leetcode.com/problems/roman-to-integer/)
12+
- [Longest Common Prefix](./easy/longest_common_prefix/java/src/main/java/com/anas/leetcode/easy/LongestCommonPrefix.java), [Problem in leetcode](https://leetcode.com/problems/longest-common-prefix/)

‎.idea/.gitignore renamed to ‎easy/longest_common_prefix/java/.idea/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎easy/longest_common_prefix/java/.idea/compiler.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/discord.xml renamed to ‎easy/longest_common_prefix/java/.idea/discord.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎easy/longest_common_prefix/java/.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎easy/longest_common_prefix/java/.idea/jarRepositories.xml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎easy/longest_common_prefix/java/.idea/jpa-buddy.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /