life is too short for a diary

Most popular

Upvote next

Create a Lambda Function to run SQL queries in Redshift Cluster

Amazon Redshift is fully managed warehouse service provided by AWS. The Amazon Redshift engine is a SQL-compliant, massively-parallel, query processing and database management system designed to support analytics workload...

Continue reading → Tags : python sql lambda function aws redshift

Getting Started with decorators in Python

In python, everything is an object. So functons are also objects which can be passed around. A decorator is a function that receives a function and returns a function...

Continue reading → Tags : python

Minimum Consecutive Cards to Pick up solution leetcode

An interesting problem on leetcode to find minimum number of ways to pick up consecutive cards. We will start with a brute force algorithm that would exceed in time limit. Later we will improve upon this algorithm using hashmap...

Continue reading → Tags : leetcode java python hashmap