Ludi163 / Pole-Exercise

A pole with a height of n levels can be created of a short element and the long one. The short element has a height of a one level and a long two levels. How many ways a pole can be created? Example: for pole with a heigth of 3 levels: Way #1:short-short-short Way #2:long-short Way #3:short-long

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

A pole with a height of n levels can be created of a short element and the long one. The short element has a height of a one level and a long two levels. How many ways a pole can be created? Example: for pole with a heigth of 3 levels: Way #1:short-short-short Way #2:long-short Way #3:short-long


Languages

Language:Java 100.0%