3093. Longest Common Suffix Queries | Weekly Leetcode 390

Опубликовано: 23 Июнь 2026
на канале: codingMohan
635
30

Hash Function -
1.    • 2982. Find Longest Special Substring That ...  
2.    • 2983. Palindrome Rearrangement Queries | W...  

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

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

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

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

00:00 - Agenda
01:19 - Problem Description
03:48 - Brute force solution
09:45 - [Hashing Approach] Optimising the solution
11:48 - [Hashing Approach] Dry run of Algorithm
13:31 - [Hashing Approach] How to tackle the collision?
18:35 - [Hashing Approach] How to come up different Hash function?
20:25 - [Hashing Approach] Code Walkthrough
27:15 - [Hashing Approach] Time Complexity
28:18 - Why KMP or Z Algorithm doesn't work?
32:10 - Intuition to solve using Trie
33:00 - Dry run of Algorithm

*************************************************
Interview Experiences Playl`ists -

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.