install homebrew
- brew install gcc
 
link homebrew installed gcc (g++-13) with mac gcc (By default mac gcc is clang)
- cd /opt/homebrew/bin
 - ln -s g++-13 g++
 
add bits/stdc++.h to mac
- cd /Library/Developer/CommandLineTools/usr/include
 - sudo mkdir bits
 
install homebrew
link homebrew installed gcc (g++-13) with mac gcc (By default mac gcc is clang)
add bits/stdc++.h to mac
| - brew update | |
| - brew install mercurial | |
| - bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
| - source ~/.gvm/scripts/gvm | 
| - brew install nvm | |
| - nano ~/.zshrc | |
| - add | |
| source $(brew --prefix nvm)/nvm.sh | 
| - sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ | |
| bash -s -- -y --no-modify-path | 
prerequisite -> pull mongo image in docker
to verify
-> docker images
docker run -d --name mongodb \
images
docker images
running containers
docker ps
Organized by Collection Hierarchy for easy memorization
Interface methods → Implementations → Complexities