Insertion sort

Prerequisite:  Algorithm, Sorting, Asymptotic complexity(time complexity, space complexity) Introduction: Insertion sort will take elements from 0 to n and compare & swap it with the left part of the array which is already sorted among the elements, until it find the right place where the element has to be. You may be clear, when look… Continue reading Insertion sort

Published

Design Patterns

          A programmer may write a better program to solve a problem. He may consider the memory management, Asympotatic complexity.            An Object oriented programmer will see everything as an object. Once he got the requirements, he can easily see all the objects or entities involved in… Continue reading Design Patterns

Published

Selection Sort

Prerequisite:  Algorithm , Sorting , Asymptotic complexity(Time & Space Complexity) Introduction : If someone gives you a list to sort and we are not aware of various sorting algorithm, most of us will write the below code,  Code: public int[] doSelectionSort(int[] ip) { int temp = 0; for(int i=0;i<ip.length-1;i++) { temp = i; for(int j=i+1;j<ip.length;j++)… Continue reading Selection Sort

Published

AWS – Infrastructure as Code

While reading more about AWS & its resources, we came across the term Infrastructure as Code(IaC) in many places like Amazon Elastic Beanstalk(EB), CloudFormation, SAM(Serverless Application Model) and AMS CDK(Cloud Development Kit).We like to explore a bit more about Infrastructure as Code and like to understand the concepts & differences between EB, CDK, SAM, CloudFormation.… Continue reading AWS – Infrastructure as Code

Published

AWS Serverless

Serverless allows developers to run application code in the cloud without worrying about managing any servers. It does not mean that there are no servers. AWS takes care of infrastructure management so that developers can only focus on writing code & deploying them. When I started reading serverless, it sounded like what I read about… Continue reading AWS Serverless

Published