1101 |
Find All Groups of Farmland |
graph |
leetcode 1992 |
|
1102 |
Operations on Tree |
graph |
leetcode 1992 |
|
1103 |
Count Special Quadruplets |
hashtable, binary search |
leetcode 1995 |
|
1104 |
The Number of Weak Characters in the Game |
sort |
leetcode 1996 |
|
1105 |
First Day Where You Have Been in All the Rooms |
dynamic programming |
leetcode 1997 |
📌 |
1106 |
Smallest Greater Multiple Made of Two Digits |
graph |
leetcode 1999 |
|
1107 |
Max Points on a Line |
math |
leetcode 149 |
⭐️ |
1108 |
String Transforms Into Another String |
hashtable |
leetcode 1153 |
📌 |
1109 |
Sum of Subarray Minimums |
stack |
leetcode 907 |
📌 |
1110 |
Reverse Prefix of Word |
string |
leetcode 2000 |
|
1111 |
Number of Pairs of Interchangeable Rectangles |
hashtable |
leetcode 1153 |
|
1112 |
Split Array With Same Average |
dynamic programming |
leetcode 805 |
📌⭐️ |
1113 |
Subtree Removal Game with Fibonacci Tree |
math |
leetcode 2005 |
📌🌚 not for interview |
1114 |
Numbers At Most N Given Digit Set |
math |
leetcode 902 |
📌 |
1115 |
Count Number of Pairs With Absolute Difference K |
array |
leetcode 2006 |
|
1116 |
Find Original Array From Doubled Array |
hashtable, sort |
leetcode 2007 |
|
1117 |
Maximum Earnings From Taxi |
dynamic programming |
leetcode 2008 |
⭐️ knapsack |
1118 |
Final Value of Variable After Performing Operations |
string |
leetcode 2011 |
|
1119 |
Sum of Beauty in the Array |
min max arrays |
leetcode 2006 |
|
1120 |
Detect Squares |
hashtable, math |
leetcode 2013 |
⭐️ |
1121 |
Average Height of Buildings in Each Segment |
math, hashtable |
leetcode 2015 |
⭐️ line sweeping |
1122 |
Maximum Number of Eaten Apples |
heap, math |
leetcode 1705 |
⭐️ |
1123 |
Water and Jug Problem |
graph, math |
leetcode 365 |
⭐️ BFS |
1124 |
Maximum Difference Between Increasing Elements |
dynamic programming |
leetcode 2016 |
|
1125 |
Grid Game |
greedy |
leetcode 2017 |
⭐️ prefix sum |
1126 |
Brightest Position on Street |
line sweeping |
leetcode 2021 |
|
1127 |
Find XOR Sum of All Pairs Bitwise AND |
bit op |
leetcode 1835 |
📌 |
1128 |
Wrong Subtraction |
math |
codeforces 977a |
📌 |
1129 |
Convert 1D Array Into 2D Array |
array |
leetcode 2022 |
|
1130 |
Number of Pairs of Strings With Concatenation Equal to Target |
hashtable |
leetcode 2023 |
|
1131 |
Maximize the Confusion of an Exam |
2 pointers |
leetcode 2024 |
|
1132 |
Minimum Moves to Convert String |
queue |
leetcode 2027 |
|
1133 |
Find Missing Observations |
math |
leetcode 2028 |
|
1134 |
Minimum Number of Increments on Subarrays to Form a Target Array |
greedy |
leetcode 1526 |
📌 |
1135 |
Count Subarrays With More Ones Than Zeros |
hashtable, prefix sum |
leetcode 2031 |
📌 need a review |
1136 |
Max Value of Equation |
heap |
leetcode 1499 |
⭐️ maxheap |
1137 |
Watermelon |
math |
codeforces 4a |
|
1138 |
Way Too Long Words |
string |
codeforces 71a |
|
1139 |
Two Out of Three |
hashtable |
leetcode 2032 |
|
1140 |
Minimum Operations to Make a Uni-Value Grid |
sort, math |
leetcode 2033 |
⭐️ median works |
1141 |
Stock Price Fluctuation |
heap, hashtable |
leetcode 2034 |
⭐️ 2 heaps + hashtable reverse mapping |
1142 |
Maximum Alternating Subarray Sum |
dynamic programming |
leetcode 2036 |
⭐️ kadane's |
1143 |
Minimum Number of Moves to Seat Everyone |
sort |
leetcode 2037 |
|
1144 |
Progress Bar |
math |
codeforces 71b |
|
1145 |
Remove Colored Pieces if Both Neighbors are the Same Color |
heap |
leetcode 2038 |
|
1146 |
The Time When the Network Becomes Idle |
graph, math |
leetcode 2039 |
⭐️ |
1147 |
Check if Numbers Are Ascending in a Sentence |
string |
leetcode 2042 |
|
1148 |
Simple Bank System |
array |
leetcode 2043 |
|
1149 |
Count Number of Maximum Bitwise-OR Subsets |
recursion |
leetcode 2044 |
|
1150 |
Sort Linked List Already Sorted Using Absolute Values |
linked list |
leetcode 2046 |
|
1151 |
Number of Valid Words in a Sentence |
string |
leetcode 2047 |
|
1152 |
Count Nodes With the Highest Score |
graph |
leetcode 2049 |
⭐️ |
1153 |
Next Greater Numerically Balanced Number |
greedy |
leetcode 2048 |
|
1154 |
Team |
array |
codeforces 231a |
|
1155 |
Next Round |
heap |
codeforces 158a |
|
1156 |
Domino piling |
math |
codeforces 50a |
|
1157 |
Kth Distinct String in an Array |
hashtable |
leetcode 2053 |
|
1158 |
Two Best Non-Overlapping Events |
sort, heap |
leetcode 2054 |
⭐️ standard interview question |
1159 |
Plates Between Candles |
binary search |
leetcode 2055 |
prefix sum, binary search |
1160 |
Smallest Index With Equal Value |
array |
leetcode 2057 |
|
1161 |
Minimum Operations to Convert Number |
graph |
leetcode 2059 |
|
1162 |
Find the Minimum and Maximum Number of Nodes Between Critical Points |
linked list |
leetcode 2058 |
|
1163 |
Number of Spaces Cleaning Robot Cleaned |
graph, hashtable |
leetcode 2061 |
⭐️ |
1164 |
Bit++ |
implementation |
codeforces 282a |
|
1165 |
Count Vowel Substrings of a String |
string |
leetcode 2062 |
|
1166 |
Minimized Maximum of Products Distributed to Any Store |
binary search |
leetcode 2064 |
|
1167 |
Beautiful Matrix |
implememtation |
codeforces 263a |
|
1168 |
Vowels of All Substrings |
math |
leetcode 2063 |
⭐️ |
1169 |
Petya and Strings |
string |
codeforces 112a |
⭐️ |
1170 |
Helpful Maths |
sort |
codeforces 339a |
|
1171 |
Check Whether Two Strings are Almost Equivalent |
hashtable |
leetcode 2068 |
|