Number of Provinces
Problem link: Number of Provinces - LeetCode There are n cities. Some of them are connected, whi…
Problem link: Number of Provinces - LeetCode There are n cities. Some of them are connected, whi…
Problem link: Max Area of Island - LeetCode You are given an m x n binary matrix grid . An isla…
Problem link: Number of Closed Islands - LeetCode Given a 2D grid consists of 0s (land) and 1…
Problem link: Rotting Oranges - LeetCode You are given an m x n grid where each cell can have…
Problem link: https://leetcode.com/problems/combination-sum/ Given an array of distinct integer…
Problem link: https://leetcode.com/problems/combinations/ Given two integers n and k , return …
Problem link: https://leetcode.com/problems/reduce-array-size-to-the-half/ You are given an intege…
Problem link: https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/ You are give…
Problem link: https://leetcode.com/problems/delete-node-in-a-linked-list/ There is a singly-linked…
Problem link: https://leetcode.com/problems/sort-an-array/ Given an array of integers nums , sort…