Skip to content

Latest commit

 

History

History

295-starAngles

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

starAngles

Interview question of the issue #295 of rendezvous with cassidoo.

The Question

Write a function where given integer n, it returns the angles at each point of a star with n points. Hint: The sum of the angles at each point of a 5 pointed star is 180 degrees, and at a 6 pointed is 360 degrees.

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!