Number Of Islands — Code And Explanation

Source

Solution Proof

There are many solutions out there — make sure you’re learning the optimal one! Here’s proof that the solution in this article is optimal:

Problem

--

--

--

Most of my writing is about software. I enjoy summarizing and analyzing books and self-help videos. I am a full-time software engineer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Learn some important things about javascript

Implementing Microfrontends in GatsbyJS using Ara Framework

What is Laravel Blade Components

Laravel Blade Components

React vs Angular: Who Gets the Final Say

Integrating Angular App with GraphQL API

JAVASCRIPT AND ITS USECASES

Install GitHub Package: Request Failed \”401 Unauthorized\”

Serverless Micro-frontends using Vue.js, AWS Lambda, and Hypernova

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
janac

janac

Most of my writing is about software. I enjoy summarizing and analyzing books and self-help videos. I am a full-time software engineer.

More from Medium

LINKED LIST — DOUBLY LINKED LIST

The Linked List Data Structure

Pair Programming — why bother?

K-th Smallest Element in a BST