864. Shortest Path to Get All Keys | LeetCode Daily Challenge
leetcode.com/problems/shortes...
0:00 - Question Understanding
3:10 - Approach 1 (Incorrect)
6:40 - Bit Manipulation
12:40 - Approach 2
#coding #dsa #leetcode #daily #programming #cpp #tutorial
Пікірлер: 8
i thing the first solution using dfs is wrong
I wrote the dfs+ backtracking code but if failed and it was the same example that u showed
Set use krlete bit ki jagah?
my boy!!!
awesome
In approach 1, why didn't you do keys & (1
bro quality of the video won't go above 360p.
@deepcodes
Жыл бұрын
HD processing takes some time, refresh now.