Eulerian Trail

In graph theory, an Eulerian trail is a trail in a finite graph which visits every edge exactly once. Such Eulerian trail exists if : none of the vertex has an add degree (pen can start at any point) only two vertices have an odd degree (pen must start at one of the odd degree … Continue reading Eulerian Trail

Pirate Riddle

100 coins to be distributed to 5 pirates: A, B, C, D, and E. Each person can set up a plan. Each pirate is smart, wants to stay alive, and wants to maximize profit. Each pirate will make a proposal. If the proposal does not get a majority vote or a tie, the pirate makes … Continue reading Pirate Riddle