Skip to content
  •  Soul Society
  •  0858#969#6261
  •  N/A
Dev Path for CC
  • About
  • Contact

Tag: Medium

3403. Find the Lexicographically Largest String From the Box I
LeetCode

3403. Find the Lexicographically Largest String From the Box I

January 9, 2025 Medium, String

Not hard. Should be aware of Boarder Cases ( numFrends == 1)

Leave a Comment on 3403. Find the Lexicographically Largest String From the Box I
3404. Count Special Subsequences
LeetCode

3404. Count Special Subsequences

January 9, 2025 Hash Table, Math, Medium

Point: Turn multiplication to fraction Hard to realize “for r in range(4, n – 2): q = r – 2” part.

Leave a Comment on 3404. Count Special Subsequences
2168. Unique Substrings With Equal Digit Frequency
LeetCode

2168. Unique Substrings With Equal Digit Frequency

January 8, 2025 Hash Table, Medium, Rolling Hash

Actually, brute force can work due to constrains. However, if we count the frequency every time, the time complexity will be O(n**3), which may…

Leave a Comment on 2168. Unique Substrings With Equal Digit Frequency
3408. Design Task Manager
LeetCode

3408. Design Task Manager

January 7, 2025 Hash Table, Heap, Medium, OOD

Point is: we don’t have to remove items immediately from heap after rmv / edit operation. Do it when we are going to execTop.

Leave a Comment on 3408. Design Task Manager
3409. Longest Subsequence With Decreasing Adjacent Difference
LeetCode

3409. Longest Subsequence With Decreasing Adjacent Difference

January 7, 2025 Dynamic Programming, Medium

1 Comment on 3409. Longest Subsequence With Decreasing Adjacent Difference
3413. Maximum Coins From K Consecutive Bags
LeetCode

3413. Maximum Coins From K Consecutive Bags

January 7, 2025 Medium, Sliding Window

1 Comment on 3413. Maximum Coins From K Consecutive Bags
3412. Find Mirror Score of a String
LeetCode

3412. Find Mirror Score of a String

January 7, 2025January 7, 2025 Hash Table, Medium

Leave a Comment on 3412. Find Mirror Score of a String

Posts pagination

« 1 2 3

Recent Posts

  • 3727. Maximum Alternating Sum of Squares
  • 3728. Stable Subarrays With Equal Boundary and Interior Sum
  • Understanding Hanfu: Why China’s Traditional Dress Isn’t the Qipao
  • 🚨 Welcome to the Era of o4: Powerful, Autonomous… and Hallucinating?
  • 3472. Longest Palindromic Subsequence After at Most K Operations

Recent Comments

  1. lcsqr on 1462. Course Schedule IV
  2. lcsqr on 1462. Course Schedule IV
  3. lcsqr on 3409. Longest Subsequence With Decreasing Adjacent Difference
  4. lcsqr on 3413. Maximum Coins From K Consecutive Bags
  5. lcsqr on 3411. Maximum Subarray With Equal Products

Archives

  • October 2025
  • June 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025

Categories

  • Artificial Intelligence
  • LeetCode
  • Others
Designed by Nasio Themes || Powered by WordPress