Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

It is about how to choose btw. BFS and DFS. My init thought was to DFS - TLE\MLE. And its editorial gives a very neat BFS based idea which costs much less memory.

https://www.hackerrank.com/challenges/beautiful-path/editorial

posted on 2016-04-14 13:56  Tonix  阅读(390)  评论(0编辑  收藏  举报