Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.36 KB

File metadata and controls

42 lines (23 loc) · 1.36 KB

Lighthouse patterns

What

Write the number in the light of the lighthouse that continues the pattern.

Why

Spotting patterns is important in writing good programs.

Problem Image

Answers

Answers are as follows:

  • The first light House Contains the value 36. Because each number in increases by 5

  • The second light House Contains the value 28. Because each number is increses in +1

  • The third light House Contains the value 64. Because every number multiply it's own value

  • The last light House Contains the value 21. Because number is addition of past two value's

How

Spoiler

Explaination A good way to spot many number patterns is to make a new series of numbers by subtracting the numbers next to each other in the original series.