personal-pk.hashnode.devSortingSelection sort : select the minimum and swap with a[i] O(n²) all cases for(int i = 0; i< n-1 ;i++){ int min = i; for(int j = i ; j<n;j++){ if(arr[j] < arr[min]){ min = j; } } swap(arr[min] , arr[i]); } B...Jul 21, 2025·4 min read
pavan-blog.hashnode.devGoogle Authentication in a MERN Stack Application with Passport.jsIntegrating third-party authentication systems like Google can save time and effort and provide security for the process. This blog will walk you through the steps of implementing Google OAuth authentication in a MERN stack app (MongoDB, Express, Rea...Nov 10, 2024·5 min read
pavan-blog.hashnode.devIdentity and Access Management (IAM)AWS IAM is a service to handle authentication (signing in) and authorization (permissions) for your AWS resources. It ensures that only approved users or systems can access your cloud infrastructure. Imagine This Scenario Let’s say there is a small e...Sep 29, 2024·3 min read
pavan-blog.hashnode.devVPC PeeringVPC Peering is a powerful feature that allows you to connect two VPCs so they can communicate directly with each other. You can create a VPC peering connection between your own VPCs, or with a VPC in another AWS account. The VPCs can be in different ...Sep 29, 2024·3 min read
pavan-blog.hashnode.devCloud Cost Optimisation using LambdaProblem statement Moving to cloud from on-premises infrastructure indeed offers numerous benefits, including scalability, flexibility, and can lower costs for companies that they would otherwise spend on physical servers and on the staff needed to ma...Sep 25, 2024·7 min read