life is too short for a diary

Most popular




Sort Characters By Frequency solution leetcode

Given a string s, sort it in decreasing order based on the frequency of the characters. The frequency of a character is the number of times it appears in the string...

Continue reading → Tags : leetcode java python heap






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