Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 940 Bytes

README.md

File metadata and controls

62 lines (43 loc) · 940 Bytes

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/