Saturday, June 3, 2023

8 Numbers Grid Puzzle

You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)

Thursday, March 16, 2023

Find the Heavier Ball Puzzle

You have 9 balls, equally big, equally heavy - except for one, which is a little heavier.

How would you identify the heavier ball if you could use a pair of balance scales only twice?

The Missing Dollar Puzzle

Three people check into a hotel. The clerk tells them that the bill for their stay is $30, so each person pays the clerk $10. The clerk puts the money in the cash register.

Later that night, the clerk realizes that he made a mistake and should have only charged the three guests $25. He pulls $5 in one dollar bills out of the register and tells the bellhop to return the money to the guests.

On the way to the room, the bellhop realizes that he cannot split the money evenly between the three people. As the guests don't know that they were charged the incorrect amount for their room, the bellhop decides to simply give them $1 each and pocket the extra $2 as a tip. Each guest gets $1 back, so they each paid $9 for their room, totaling $27. The bellhop kept $2, and $27 + $2 = $29.

But the guests originally handed over $30. What happened to the missing dollar?

Tuesday, December 13, 2022

Which free software do I use in my work?

  • Notepad++ is a source code editor and Notepad replacement that supports several languages.
  • 7-zip is a file archiver with a high compression ratio.
  • f.lux is software for eye protection.
  • Paint.NET is image and photo editing software for PCs that run Windows.
  • Putty a simple and stable SSH client.
  • WinSCP an SFTP client that also supports FTP, FTPS, SCP, WebDAV and S3.
  • KeePass a light-weight and easy-to-use password manager.
  • Postman is an API platform for building and using APIs.

A longer list of free software for windows, that I might be using or not, can be found here.

This list was edited online using onlinehtmleditor.dev

Sunday, September 11, 2022

The Bird Traveling Between Two Trains Puzzle

Two train stations are 60 miles apart. At 2pm one Saturday afternoon two trains start toward each other, one from each station. Just as the trains pull out of the stations, a bird springs into the air in front of the first train and flies to the front of the second train. When it reaches the second train, it turns back and flies toward the first train. The bird continues to do this until the trains meet. If one train travels at 30 miles/hour and the other train travels at 20 miles/hour, and the bird flies at 100 miles/hour, how many miles will the bird have flown before the trains meet?

Wednesday, August 17, 2022

No Broken Eggs Puzzle

Jack is a farmer and owns some chickens. One day, he took a basket of fresh eggs to the market to sell.

The first person bought half of all the eggs in the basket and half an egg.

Then, the second person bought half of the remaining eggs and half an egg.

Later, the third person bought half of the remaining eggs and half an egg.

Finally, the fourth person bought half of the remaing eggs and half an egg.

Now Jack's basket is empty.

If no eggs were broken in the process, how many eggs did he originally have in his basket?

Monday, August 15, 2022

Birds in Garden Puzzle

Once upon a time, there was a garden somewhere in the world. In that garden, there were some birds on the ground and some birds on a tree.

The birds on the tree say to the birds on the ground that if one of you came to our tree, then our population will be double of yours.

Then the birds on the ground tell the birds on the tree that if one of you came to the ground, then our population will be equal to that of yours.

How many birds were on the ground and how many birds were on the tree?