Repository for tested codes of DSA and CP problems
- Leetcode: https://leetcode.com/u/himx
- Codechef: https://www.codechef.com/users/himanshujain17
- Folder Name = Upper Camel Case -> DataStructures
- File Name | Class Name = Small Underscore Case -> min_heap.java
- Method Name | Variable Name = Small Camel Case -> printHeap()
.
|-- 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
javac Rootpath/<filename>.java
java Rootpath/<classname>
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
1. Format the document
2. Update the directory tree
3. Follow the naming convention