- Joined
- 9/23/16
- Messages
- 5
- Points
- 11
Hi all,
yesterday I had my 4th phone interview with a decent company and I couldn't give the right answer for one question on time(10mins) BUT managed to solve it after the interview ended.
The question is the following.
There are 3 types of cats. Blue, Green and Purple.
These cats are magical and if a blue and green cat meet they both turn into purple. If green and purple meet they both turn into blue. Lastly, if purple and blue meet they both turn into green.
The question is whether it is possible for all the cats to become the same color.
I would like to know a very fast idea to solve it because it took me some time to rigorously prove it.
The purpose of my post is to know a lot of different ways to solve this problem if there exists.
I'll post my solution after a couple of hours.
Thank you so much.:D
yesterday I had my 4th phone interview with a decent company and I couldn't give the right answer for one question on time(10mins) BUT managed to solve it after the interview ended.
The question is the following.
There are 3 types of cats. Blue, Green and Purple.
These cats are magical and if a blue and green cat meet they both turn into purple. If green and purple meet they both turn into blue. Lastly, if purple and blue meet they both turn into green.
The question is whether it is possible for all the cats to become the same color.
I would like to know a very fast idea to solve it because it took me some time to rigorously prove it.
The purpose of my post is to know a lot of different ways to solve this problem if there exists.
I'll post my solution after a couple of hours.
Thank you so much.:D