Re:It is humiliating to have to do LeetCode grinding for
by HDThoreaun on Thursday November 28, 2024 @10:18PM
(#42270505)
Absolutely not lmao. Many problems are more efficiently solved with bfs vs dfs or vice versa. If the problem requires you to reach a leaf dfs is usually better
[ Parent
| on HN ]
Re:It is humiliating to have to do LeetCode grinding for
by marcosdumay on Friday November 29, 2024 @08:34AM
(#42273743)
What? Neither of them are efficient in any practical sense.