Dover Publications, 2000 reprint of 1958 original. Originally published as two volumes by Macmillan in 1887 and 1897.
From the cover:
The two works reprinted in this volume are a unique fusion of logical thought and inimitable whimsy. Written by the 19th-century mathematician who also gave us “Alice in Wonderland”, they are among the most entertaining logical works ever written, and contain some of the most thought-provoking puzzles ever devised.