Рет қаралды 1,546
Discord Link: / discord
Problem Link: leetcode.com/problems/shortes...
In this video we are solving yet again another Google interview question since you guys seem to love watching these the most according to my analytics. This time it's "Shortest Way to Form String (Leetcode 1015)".
This question is actually pretty easy and the solution is intuitive. And the best part is you can solve it with a two-pointers greedy algorithm!
TIMESTAMPS
00:00 Intro
00:18 Question Prompt
00:49 Example & Solution Intuition
03:06 Coding
07:45 Time/Space Complexity
08:55 Outro