Добавить
Уведомления

3093. Longest Common Suffix Queries | Weekly Leetcode 390

Hash Function - 1. https://youtu.be/8kMq8WyCpj0?t=771 2. https://youtu.be/1thnThrIzwg?t=1328 Segment Tree Series - https://bit.ly/segment-trees ************************************************* Contest Link - https://leetcode.com/contest/weekly-contest-389 Problem Link - https://leetcode.com/contest/weekly-contest-390/problems/longest-common-suffix-queries/ Solution - https://leetcode.com/problems/longest-common-suffix-queries/solutions/4917490/video-explanation-2-approaches-hashing-trie/ ************************************************* 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 - https://www.youtube.com/playlist?list=PL9TOCZErLZcOsCBZPQ3uIMzak6gQWG_Kp Amazon - https://youtube.com/playlist?list=PL9TOCZErLZcMFSmxoEpNBxvQfWOgRmsfX D.E.Shaw - https://youtube.com/playlist?list=PL9TOCZErLZcM8nwVeW4d7JyxcpH175IZ1 Linkedin - https://www.youtube.com/playlist?list=PL9TOCZErLZcMN56ITB1IkNUs10QnaEyAe Facebook - https://youtube.com/playlist?list=PL9TOCZErLZcNIcaPV8WeHdXHPgAstBf2E ********************************************************************* Please show support and subscribe if you find the content useful.

12+
16 просмотров
год назад
12+
16 просмотров
год назад

Hash Function - 1. https://youtu.be/8kMq8WyCpj0?t=771 2. https://youtu.be/1thnThrIzwg?t=1328 Segment Tree Series - https://bit.ly/segment-trees ************************************************* Contest Link - https://leetcode.com/contest/weekly-contest-389 Problem Link - https://leetcode.com/contest/weekly-contest-390/problems/longest-common-suffix-queries/ Solution - https://leetcode.com/problems/longest-common-suffix-queries/solutions/4917490/video-explanation-2-approaches-hashing-trie/ ************************************************* 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 - https://www.youtube.com/playlist?list=PL9TOCZErLZcOsCBZPQ3uIMzak6gQWG_Kp Amazon - https://youtube.com/playlist?list=PL9TOCZErLZcMFSmxoEpNBxvQfWOgRmsfX D.E.Shaw - https://youtube.com/playlist?list=PL9TOCZErLZcM8nwVeW4d7JyxcpH175IZ1 Linkedin - https://www.youtube.com/playlist?list=PL9TOCZErLZcMN56ITB1IkNUs10QnaEyAe Facebook - https://youtube.com/playlist?list=PL9TOCZErLZcNIcaPV8WeHdXHPgAstBf2E ********************************************************************* Please show support and subscribe if you find the content useful.

, чтобы оставлять комментарии