News for hackers. Stuff that matters.
Re:I am a great programmer, but horrible algorithmist by irahul on Friday February 10, 2012 @12:58PM (#3576728)
> DFS and BFS can be expressed by a single algorithm that differs only in the behavior of the "queue."

Correct me if I am wrong, but the naive non-recursive DFS and BFS differ only in the implementation of queue.

https://gist.github.com/1791284

Re:I am a great programmer, but horrible algorithmist by haberman on Friday February 10, 2012 @02:57PM (#3577249)
Isn't that what I said?
Re:I am a great programmer, but horrible algorithmist by irahul on Friday February 10, 2012 @03:44PM (#3577393)
My bad. Written communication is confusing - your comment sounded incredulous.

EDIT: In retrospect, you did mention you find it interesting - don't know how it jumped out as incredulous.