Day 17 of 30 days Leetcode challenge - Number of Islands
Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. ...
Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. ...
Valid Parenthesis String Given a string containing only three types of characters: (, ) and *, writ ...
Product of Array Except Self Given an array nums of n integers where n > 1, return an array out ...
Perform String Shifts You are given a string s containing lowercase English letters, and a matrix s ...
Contiguous Array Given a binary array, find the maximum length of a contiguous subarray with equal ...
Last Stone Weight We have a collection of stones, each stone has a positive integer weight. Each t ...
Diameter of Binary Tree Given a binary tree, you need to compute the length of the diameter of the ...
Min Stack Design a stack that supports push, pop, top, and retrieving the minimum element in consta ...