3219. Minimum Cost for Cutting Cake II | Weekly Leetcode 406

Опубликовано: 29 Март 2026
на канале: codingMohan
586
21

Segment Tree Series - https://bit.ly/segment-trees

Hashing Problems -
1.    • 2982. Find Longest Special Substring That ...  
2.    • 2983. Palindrome Rearrangement Queries | W...  
3.    • 3093. Longest Common Suffix Queries | Week...  

Hashing Playlist -    • Hashing  

*************************************************
Contest Link - https://leetcode.com/contest/weekly-c...

Problem Link - https://leetcode.com/contest/weekly-c...
Solution - https://leetcode.com/problems/minimum...

*************************************************
Timestamps -

00:00 - Agenda
00:58 - Problem Description
03:38 - [Solution 1] Intuition of recursion
09:24 - [Solution 1] Pseudo code
14:35 - [Solution 1] Time Complexity
16:40 - [Solution 1] Code Walkthrough
19:00 - [Solution 2] Different ways to optimise
21:45 - [Solution 2] Observation to order H & V
30:47 - [Solution 2] Deriving a reduced problem
36:00 - [Solution 2] Solving reduced problem
42:10 - [Solution 2] Code Walkthrough
47:45 - [Solution 3] How to optimise
50:45 - [Solution 3] How to order H & V among themselves
01:01:35 - [Solution 3] Code Walkthrough

*************************************************
Interview Experiences Playlists -

Microsoft -    • Microsoft Interview Questions  
Amazon -    • Amazon Interview Questions  
D.E.Shaw -    • D.E.Shaw Interview Questions  
Linkedin -    • Linkedin Interview Questions  
Facebook -    • Facebook (Meta) Interview Questions  
*********************************************************************

Please show support and subscribe if you find the content useful.