A Programming Problem of NexTag
Given a deck of nCards unique cards, cut the deck iCut
cards from top and perform a perfect shuffle. A perfect
shuffle begins ...
The warden meets with 23 new prisoners when they arrive. He tells them, "You
may meet today and plan a strategy. But after today, you will be in isolated
There are 100 prisoners in a jail. Since the jail will be closed, the prisoners are either released or executed. They are lined up in a single line in the ...
Given an integer N, update it iteratively as follows:
(1) if N is odd, N++ or N--
(2) if N is even, N/=2
Find the shortest path to reduce N ...
Determine the total number of squares of all sizes and positions on an ordinary 8x8 chessboard. Also compute the total number of rectangles.
The Pragmatic Programmer: From Journeyman to Master
by Andrew Hunt
Python for Data Analysis
by Wes McKinney
Expert C Programming: Deep C Secrets
by Peter van der Linden
A Mathematical Gift, II (Mathematical World)
by Kenji Ueno
C++ Coding Standards: 101 Rules, Guidelines, and Best Practices
by Herb Sutter