Skip to content

Instantly share code, notes, and snippets.

View shashankgroovy's full-sized avatar
🏁
Godspeed

Shashank Srivastav shashankgroovy

🏁
Godspeed
View GitHub Profile
@shashankgroovy
shashankgroovy / trees.py
Created July 29, 2016 05:46 — forked from prakhar1989/trees.py
Fun with binary trees
#!/usr/bin/python
import unittest
## binary tree problems
### A NODE OBJECT
class Node(object):
def __init__(self, data):
self.data = data
self.left = None
@shashankgroovy
shashankgroovy / analytics-models.md
Created August 27, 2019 10:17
Case study for analytics models

Case study

Let’s say you have been tasked to create a new feature, and you have to create a new schema, since the current ones don’t suffice the needs. In that case, below we list down the steps to achieve the same and also talk a bit about data modelling.

Creating a schema:

Creating a new schema is all about data modelling. So, make sure you study