Getting ready for winter and getting ready for the holidays. A lot of the Christmas lights are up on the outside. The tree will go up Wednesday night. Any specials things that you do this time of the year that brings you together as a family or group of friends.
Computer scientists hunt elephants using algorithm A:
1.->Go to Africa
2.->Start at the Cape of Good Hope
3.->Work northward in an orderly manner, traversing the continent alternately east and west.
4.->During each traverse
a. Catch each animal seen
b. Compare each animal caught to a known elephant
c. Stop when a match is detected.
(To Be Continued…)
From a coding friend:
(Filter)
animals.stream()
.filter(Animal.isAlive())
.anyMatch(animal -> animal == Type.ELEPHANT);
