Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Programming Interview Question: Eight Queens.
What the actual fuck ((if b[r]?[c] then c else -1) for c in [0..n-1]).filter (c) -> c >= 0
I am aware of what the line is doing, I just have no idea what b & c are. Best guess; Board & Column.
There are no comments on this comment yet.
What the actual fuck ((if b[r]?[c] then c else -1) for c in [0..n-1]).filter (c) -> c >= 0
I am aware of what the line is doing, I just have no idea what b & c are. Best guess; Board & Column.