A.I, Data and Software Engineering

Latest articles

Number of Islands solution

petamind

In this post, we have a look at using a queue and breath-first search algorithm to solve a Leetcode challenge. The problem is stated as follows. Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges...

Automate Nat gateway deletion with lambda

petamind

Since NAT gateway is not cheap, in some cases, we don’t need to keep NAT Gateway running all the time. It is a good practice to automate the removal of the NAT gateway after finishing your task. This article will show how to implement a lambda function to remove the NAT gateway and associated Elastic IPs. What is aws lambda AWS Lambda is a AWS serverless compute service. It lets you run...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Categories