jtinder
Re:TypeScripting the Technical Interview
on Monday March 13, 2023 @07:25AM (#35134174)
An amazing read, and almost perfect!
There's a bug in the Solve "function" due to which you'll get the right answer only for 1x1, 5x5 and 7x7 (I checked till 8x8).
The base case makes a wrong assumption that there will always be a candidate available for the last row. If there are no candidates available, it should return Nil, and backtrack.
Basically, replace
Concat<candidates, placedQueens>
with candidates extends Cons<infer x, any>
? Cons<x, placedQueens>
: Nil
Re:The XSS Game by Google
on Friday November 25, 2016 @11:24AM (#13037763)
or you can simply add a space after #
Re:4-bit calculator made from cardboard and marbles
on Tuesday November 22, 2016 @04:16AM (#13012814)
You are a self-aware mixture of lots of carbon atoms, water molecules, several metals, etc... of many solids, liquids and gases.
Re:Paper Planes
on Tuesday October 04, 2016 @07:38AM (#12634783)
yeah me too.. 8 planes, all from Mountain View, CA