3292. Minimum Number of Valid Strings to Form Target II (Leetcode Hard)
Вставка
- Опубліковано 19 вер 2024
- Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!
Problem: leetcode.com/c...
Twitch: / larryny
Discord: / discord
Instagram: / larrysomewhere
#leetcode #coding #programming
Did your target get to you?
Jump game II :D, solved Q3 using this. Can be done in 1 pass for-loop. I didnt know about Z-functions so no Q4 :(
solved it today using Z-functions + one-pass simplified BFS jump game ii.
ya, I posted this on the Discord afterwards!
Why it doesn't work with a prefix hashset? The constrain is really weird
depends on how you do it it might be too slow