Algo.Monster·Feb 23, 20232101. Detonate the Maximum BombsYou are given a list of bombs. The range of a bomb is defined as the area where its effect can be felt. This area is in the shape of a…
Algo.Monster·Feb 22, 20232031. Count Subarrays With More Ones Than ZerosYou are given a binary array nums containing only the integers 0 and 1. Return the number of subarrays in nums that have more 1's than 0's…
Algo.Monster·Jan 31, 2023LeetCode 1207. Unique Number of OccurrencesGiven an array of integers arr, return true if the number of occurrences of each value in the array is unique or false otherwise.
Algo.Monster·Jan 31, 2023LeetCode 1010. Pairs of Songs With Total Durations Divisible by 60You are given a list of songs where the ith song has a duration of time[i] seconds.
Algo.Monster·Jan 27, 2023LeetCode 1404. Number of Steps to Reduce a Number in Binary Representation to OneIf you prefer a quick walk through:
Algo.Monster·Jan 24, 2023LeetCode 1218. Longest Arithmetic Subsequence of Given Difference SolutionGiven an integer array arr and an integer difference, return the length of the longest subsequence in arr which is an arithmetic sequence…