Skip to content

himanshujaindev/CP-DSA

Repository files navigation

CP-DSA

Repository for tested codes of DSA and CP problems

Coding Profile:

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

Folder Structure:

.
|-- Algorithms
|   |-- Arrays
|   |-- Backtracking
|   |-- Dp
|   |-- Graph
|   |-- Miscellaneous
|   |-- Patterns
|   |-- Recursion
|   |-- Searching
|   |   `-- BinarySearch
|   `-- Sorting
|-- Basics
|-- Codechef
|-- Common
|-- DataStructures
|   |-- Collection
|   |   |-- Heap
|   |   |-- List
|   |   |-- Maps
|   |   |-- Queue
|   |   |-- Set
|   |   |-- Sort
|   |   `-- Stack
|   `-- Implementation
|       |-- Array
|       |-- Graph
|       |-- LinkedList
|       |-- Queue
|       |-- String
|       |-- Tree
|       `-- Trie
|-- LeetCode
`-- Practice

33 directories

Use Command: 
MAC: tree -d OR tree -I '*.class'
Windows: tree

Commands

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

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

About

Repository for DSA and CP code - JAVA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages