LogiQuest

Problem Solving

Interview-style challenges that combine several ideas.

120 problems

StatusTitleDifficulty
1. Two SumEasy
2. Maximum Subarray SumMedium
3. Coin ChangeMedium
4. Activity SelectionMedium
5. 0/1 KnapsackHard
6. Merge IntervalsMedium
7. FizzBuzzEasy
8. Best Time to Buy and Sell StockEasy
9. Majority ElementEasy
10. Move ZeroesEasy
11. Rotate ArrayEasy
12. Trapping Rain WaterHard
13. Product of Array Except SelfMedium
14. Missing NumberEasy
15. Range Sum QueriesMedium
16. Leaders in an ArrayEasy
17. Subarrays with Sum KMedium
18. Shortest Subarray with Sum ≥ SMedium
19. Longest Substring Without RepeatsMedium
20. Longest Run After K ChangesMedium
21. Minimum Window Containing AllHard
22. Aggressive CowsHard
23. Allocate BooksHard
24. Eating SpeedMedium
25. Triplets with Zero SumMedium
26. Longest Consecutive SequenceMedium
27. Largest Rectangle in a HistogramHard
28. The CelebrityMedium
29. Grade CalculatorEasy
30. Electricity BillEasy
31. Loan EMIMedium
32. Day of the WeekMedium
33. Days Between DatesMedium
34. 12-Hour to 24-Hour TimeEasy
35. Seconds to H:M:SEasy
36. Tic-Tac-Toe WinnerEasy
37. ATM WithdrawalEasy
38. Parking FeeEasy
39. Vending Machine ChangeEasy
40. Bank Account StatementMedium
41. Library FineEasy
42. Password StrengthEasy
43. Validate an IPv4 AddressMedium
44. Validate an Email AddressMedium
45. Minesweeper NumbersMedium
46. Elevator TravelEasy
47. Waiting Time at a CounterMedium
48. Traffic Light ColourEasy
49. Word WrapMedium
50. Centre the TextEasy
51. Text HistogramEasy
52. Running MedianHard
53. LRU CacheMedium
54. Snakes and LaddersHard
55. Bowling ScoreHard
56. Number to WordsHard
57. Basic CalculatorHard
58. Inventory OrdersMedium
59. Rainfall StatisticsEasy
60. Cinema Seat BookingMedium
61. Temperature ConverterEasy
62. Shopping Cart TotalEasy
63. Robot MovesEasy
64. Attendance ShortfallEasy
65. Lottery MatchesEasy
66. Reverse a Linked ListEasy
67. Middle of a Linked ListEasy
68. Remove N-th Node from EndMedium
69. Merge Two Sorted ListsEasy
70. Palindrome Linked ListEasy
71. Remove Duplicates from Sorted ListEasy
72. Rotate List RightMedium
73. Add Two Numbers as ListsMedium
74. Partition ListMedium
75. Odd-Even Linked ListMedium
76. Swap Nodes in PairsMedium
77. Reverse Nodes in K-GroupsHard
78. Container With Most WaterMedium
79. Two Sum II (Sorted Input)Medium
80. 3Sum ClosestMedium
81. Remove ElementEasy
82. Squares of a Sorted ArrayEasy
83. Palindrome After One DeletionEasy
84. Longest MountainMedium
85. Windows With Average ≥ ThresholdMedium
86. Max Consecutive Ones With K FlipsMedium
87. Subarray Product Less Than KMedium
88. Grumpy Bookstore OwnerMedium
89. Maximum Points From CardsMedium
90. Longest Ones After Deleting One ElementMedium
91. Summary RangesEasy
92. Missing RangesEasy
93. Sort Array by Parity (Stable)Easy
94. Array Partition (Max Sum of Pair Minimums)Easy
95. Range Updates With a Difference ArrayMedium
96. Car PoolingMedium
97. Corporate Flight BookingsMedium
98. Kids With the Greatest Number of CandiesEasy
99. Shuffle the ArrayEasy
100. Lemonade ChangeEasy
101. Poison DurationEasy
102. Can Place FlowersEasy
103. Maximum Units on a TruckEasy
104. Two City SchedulingMedium
105. Queue Reconstruction by HeightMedium
106. Largest Perimeter TriangleEasy
107. Custom Sort StringMedium
108. Add StringsEasy
109. Multiply StringsMedium
110. Compare Version NumbersMedium
111. Length of Last WordEasy
112. License Key FormattingEasy
113. Detect CapitalEasy
114. Student Attendance RecordEasy
115. Shortest Distance to a CharacterEasy
116. Reverse Each WordEasy
117. Reverse String IIEasy
118. Defang an IP AddressEasy
119. Goal Parser InterpretationEasy
120. Nim GameEasy

120 of 120 problems