sharkdp / great-puzzles Goto Github PK
View Code? Open in Web Editor NEWA curated list of great puzzles
A curated list of great puzzles
Very interesting. If you can put puzzles up on github, I suppose issues can be filed against them (and I assume that anyone reading would expect spoilers).
In the first Blindfolded tricks puzzle:
[You are blindfolded and] There is a deck of 52 cards on the table in front of you. Ten of them are face-up and the rest are face-down. Split the deck such that each new stack has an equal number of face-up cards.
It is not at all clear to me how the cards are laid out (which makes it difficult to permute them, mentally, in order to solve the problem.) Is there one stack of cards? Are there two, with different numbers of cards? Are they, perhaps, splayed all across the table?
On a close re-reading of the answer, it would seem they are all in one stack to begin with, and, also from the answer, I'm assuming that the ten face-up cards are shuffled amongst the face-down cards.
Maybe I don't play with cards enough ...
This is well-known and quite simple, but is fun:
another possible solution to minimize the number of dwarves killed is as follows:
each dwarf has to say 'black' or 'white'.
Each dwarf speaks the color of the hat being worn by the dwarf in front of him/her.
This way, only the first dwarf shall be killed in the worst case. All other dwarves shall know the color of their hat, for certainty.
Am I missing something ? it feels lot more simpler solution as compared with computing parity
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.