Skip to content

himanshujaindev/dsa-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CP-DSA

DSA Code written in JAVA

Coding Profile:

Folder Structure:

(tree -P '*.java') | sed '1s/^/```\n/' | sed '$a\
```' > FILES.md
Use Command: 
MAC: tree -d OR tree -I '*.class' OR tree -P '*.java'
Windows: tree

Commands

javac Rootpath/<filename>.java
java Rootpath/<classname>

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()

Keyboard Shortcuts (VSCODE)

1. Format Document
Mac: Command + Control + F
Windows: Ctrl + Alt + F

2. Debug
Mac: Command + D
Windows: Ctrl + D

2. Run
Mac: Command + R
Windows: Ctrl + R

ToDo Before Commit

1. Format the document
2. Update the directory tree
3. Follow the naming convention

Resources

  1. https://cp-algorithms.com/

About

Repository for DSA code - JAVA

Topics

Resources

Stars

Watchers

Forks

Languages