Array#permutation and Array#combination -- cool! I had no idea these were in ruby.
Backtracking: isn't using throw/catch for program flow control kind of hackish? I mean, it looks awesome, but I've also heard it's slow (ref: Avdi Grimm)... If the goal is to speed up the algorithm, maybe that "1/7th" time savings in node traversal is a wash?
Array#permutation and Array#combination -- cool! I had no idea these were in ruby.
Backtracking: isn't using throw/catch for program flow control kind of hackish? I mean, it looks awesome, but I've also heard it's slow (ref: Avdi Grimm)... If the goal is to speed up the algorithm, maybe that "1/7th" time savings in node traversal is a wash?
werdnativ 7 months ago
great lecture. thanks!
bytedildo 9 months ago