DSA in Python and Java
- Download JDK - here
❯ javac -version
javac 24
❯ java -version
java version "24" 2025-03-18
Java(TM) SE Runtime Environment (build 24+36-3646)
Java HotSpot(TM) 64-Bit Server VM (build 24+36-3646, mixed mode, sharing)
uv-based python virtual env
❯ setup_venv 3.12
- Enable Format on Save option
- Update Keyboard shortcut:
a. Start Debugging =⌘+'
b. Run Without Debugging =⌘+⏎
(Applicable for java and py) - Set git user:
git config --global --edit
(filename: ~/.gitconfig)
git commit --amend --reset-author
git config --global user.name
git config --global user.email
git log
Author: himanshujaindev <dev.himanshujain@gmail.com>
brew install tree
(tree -P '*.java|*.py') | sed '1s/^/```\n/' | sed '$a\
```' > FILES.md
- Format:
⌘+S - Debug (workbench.action.debug.start):
⌘+' - Run (workbench.action.debug.run):
⌘+⏎
- Format the document
- Update the directory tree
- Follow the naming convention
- Folder Name = Upper Camel Case ->
DataStructures - File Name | Class Name = Small Underscore Case ->
min_heap.java - Method Name | Variable Name = Small Camel Case ->
printHeap()