itsAdee / CodingTasks

Repository containing answers to coding problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodingTasks

Repository containing answers to coding problems

Task1

Please write console app. User should be able to input hours and minutes of the analogue clock. Program must calculate lesser angle in degrees between hours arrow and minutes arrow and provide output in the console window.

Task2

After creating this object, we can add new Branch type objects into branches variable. Doing so we increase object depth by one. Into created objects we can add again new branches etc. In the figure below we have similar structure. This structure depth is 5

image

Please write a program, where you would create similar structure. Pass this structure into your own created method and calculate the depth of provided structure. Main requirement to complete this task: use recursion.

About

Repository containing answers to coding problems


Languages

Language:Jupyter Notebook 86.2%Language:C# 13.8%