Sept. 19, 2020

Q1. Sum of All Odd Length Subarrays

array

Sept. 19, 2020

Q3. Make Sum Divisible by P

array
binary search

Sept. 13, 2020

Q1. Special Positions in a Binary Matrix

array

Sept. 13, 2020

Q2. Count Unhappy Friends

array

Sept. 5, 2020

Q1. Matrix Diagonal Sum

array

Sept. 5, 2020

Q3. Shortest Subarray to be Removed to Make Array Sorted

array
binary search

Aug. 30, 2020

Q1. Detect Pattern of Length M Repeated K or More Times

array

Aug. 23, 2020

Q1. Most Visited Sector in a Circular Track

array

Aug. 16, 2020

Q1. Three Consecutive Odds

array

Aug. 16, 2020

Q3. Magnetic Force Between Two Balls

array
binary search

Aug. 8, 2020

Q1. Kth Missing Positive Number

array
hash table

Aug. 2, 2020

Q1. Count Good Triplets

array

Aug. 2, 2020

Q2. Find the Winner of an Array Game

array

July 25, 2020

Q2. Number of Subarrays With Odd Sum

array
math

July 12, 2020

Q1. Number of Good Pairs

array
hash table
math

July 11, 2020

Q2. Range Sum of Sorted Subarray Sums

array
sort

July 11, 2020

Q3. Minimum Difference Between Largest and Smallest Value in Three Moves

array
sort

July 5, 2020

Q1. Can Make Arithmetic Progression From Sequence

array
sort

July 5, 2020

Q2. Last Moment Before All Ants Fall Out of a Plank

array
brainteaser

June 28, 2020

Q2. Check If Array Pairs Are Divisible by k

array
math
greedy

June 28, 2020

Q4. Max Value of Equation

array
sliding window

June 27, 2020

Q1. Average Salary Excluding the Minimum and Maximum Salary

array
sort

June 27, 2020

Q3. Longest Subarray of 1's After Deleting One Element

array

June 21, 2020

Q1. XOR Operation in an Array

array
bit manipulation

June 21, 2020

Q3. Avoid Flood in The City

array
hash table

June 14, 2020

Q1. Running Sum of 1d Array

array

June 14, 2020

Q2. Least Number of Unique Integers after K Removals

array
sort

June 14, 2020

Q3. Minimum Number of Days to Make m Bouquets

array
binary search

June 13, 2020

Q1. Final Prices With a Special Discount in a Shop

array

June 13, 2020

Q2. Subrectangle Queries

array

June 7, 2020

Q1. Shuffle the Array

array

June 7, 2020

Q2. The k Strongest Values in an Array

array
sort

May 31, 2020

Q1. Maximum Product of Two Elements in an Array

array

May 31, 2020

Q2. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

array

May 30, 2020

Q1. Make Two Arrays Equal by Reversing Subarrays

array

May 17, 2020

Q1. Number of Students Doing Homework at a Given Time

array

May 10, 2020

Q2. Count Triplets That Can Form Two Arrays of Equal XOR

array
math
bit manipulation

May 3, 2020

Q2. Check If All 1's Are at Least Length K Places Away

array

May 3, 2020

Q3. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

array
sliding window

May 2, 2020

Q1. Kids With the Greatest Number of Candies

array

April 26, 2020

Q2. Maximum Points You Can Obtain from Cards

array
dynamic programming
sliding window

April 26, 2020

Q3. Diagonal Traverse II

array
sort

April 18, 2020

Q1. Minimum Value to Get Positive Step by Step Sum

array

April 18, 2020

Q2. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K

array
greedy

April 12, 2020

Q2. Queries on a Permutation With Key

array

April 4, 2020

Q1. Count Largest Group

array

March 29, 2020

Q1. Find Lucky Integer in an Array

array

March 29, 2020

Q2. Count Number of Teams

array

March 22, 2020

Q1. Create Target Array in the Given Order

array

March 21, 2020

Q1. Find the Distance Value Between Two Arrays

array

more
loading
