AI AI is broad term that encompasses any technique that enables computers to mimic human intelligence. This includes tasks like recognizing speech, making decisions, translating languages, and playing games. Traditional AI It is a subset of AI that focuses on specific tasks and operates based on predefined rules and algorithms. Modern AI It usually refers… Continue reading Artificial Intelligence – Intro
Heapsort
Before jumping into Heap sort, we have to have the understanding of the below Heap sort We have two different approach in heap sort Create heap time complexity will be O(n logn)Heapify time complexity will be O(n) Insert a new element in a max/min heap is O(1) to O(logn)Deletion of a new element in a… Continue reading Heapsort
How to refresh application properties without restart
Spring boot + AWS AppConfig 1. Setup AWS AppConfig Why AppConfig? AppConfig is a configuration management system provided by AWS which supports controlled rollouts to applications. If your application is already deployed in the AWS cloud environment and your application needs a dynamic configuration, then AppConfig might fit your need. In this tutorial, I’m using… Continue reading How to refresh application properties without restart
Merge Sort
Merge sort is based on divide & conquer strategy. It continously divide the array into two halves until we reach one element where we cannot divide futher. Once divided, start merging them continously into a sorted array until we get the full array list. Divide & Conquer Recursive algorithm
Sorting Algorithms
Stable sorting vs Unstablesorting Choosing pivot in quick sort S.No Sorting Worst Average Best 1 Selection Sort O(n^2) 2 Insertion Sort O(n^2) 3 Quick Sort O(n^2) 4 Bubble Sort O(n^2) 5 Merge Sort O(n log n) 6 Heap Sort O(n log n) 7 Shell Sort 8 Bucket Sort 9 Tree Sort 10 TimSort 11 Radix… Continue reading Sorting Algorithms
My AWS cloud learning – A quick look
Writing this blog to have a quick summary of what helped me to understand well & complete my learning with AWS certification. Blogs Udemy Courses Below udemy course & practice test helped to understand in detail, https://www.udemy.com/course/aws-certified-developer-associate-dva-c01/ https://www.udemy.com/course/aws-certified-developer-associate-practice-tests-dva-c01/ Twitter Threads Had some time to write a few threads about some AWS services on Twitter. Added… Continue reading My AWS cloud learning – A quick look
Elastic Load Balancers – AWS
A Load Balancer is just a server that will distribute the request load to a set of downstream servers. We can add more downstream servers & make applications scale horizontally. We use Elastic Load Balancer(ELB) in AWS. AWS will take care of upgrades, maintenance & high availability. ELB automatically distributes incoming traffic across multiple targets,… Continue reading Elastic Load Balancers – AWS
ASG – Amazon EC2 Auto Scaling Group
An Auto Scaling group contains a collection of EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management. By using Auto Scaling Group, we can manage the increased or decreased load by scaling in with more instances or scaling out. We can also make sure that there are… Continue reading ASG – Amazon EC2 Auto Scaling Group
Amazon S3 (Simple Storage Service)
Amazon Simple Storage Service (Amazon S3) is an object storage service that stores data as objects within buckets. An object is a file and any metadata that describes the file. Each object has a key. The key is the full path of the object. A bucket is a container for objects like directories. Buckets must… Continue reading Amazon S3 (Simple Storage Service)
Amazon Route 53
Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. We can use Route 53 to perform three main functions in any combination, Domain registration DNS routing Health checking We have to understand what is DNS, before go into details of Route 53. Let’s look at what is DNS. DNS… Continue reading Amazon Route 53