Skip to content

Instantly share code, notes, and snippets.

View bsnithin44's full-sized avatar
😀

Nithin bsnithin44

😀
  • Bangalore
View GitHub Profile
#question 1
class String():
def __init__(self):
self.l = []
self.d = {}
def add_string(self,string):
if string not in self.d:
self.d[string] = 1
@bsnithin44
bsnithin44 / install-conda.sh
Created June 14, 2019 08:10 — forked from arose13/install-conda.sh
Install Miniconda in Ubuntu
# Setup Ubuntu
sudo apt update --yes
sudo apt upgrade --yes
# Get Miniconda and make it the main Python interpreter
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p ~/miniconda
rm ~/miniconda.sh