We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I'm glad to have learned something new today. However, that "something new" was more maths than programming.
IMO, this problem forces artificial restrictions so as to leave you with only one solution. And if you enjoy recreational mathematics, then you would know it right away, but otherwise you're going to be stuck for a while.
In this respect, it doesn't help to improve programming skill, IMHO. And especially not Python skill (this is an introductory exercise in Python, after all). Which is what Hackerrank is about.
This is just my opinion, of course. I don't know the first thing about constructing a "good" exercise myself :-)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest
You are viewing a single comment's thread. Return to all comments →
I'm glad to have learned something new today. However, that "something new" was more maths than programming.
IMO, this problem forces artificial restrictions so as to leave you with only one solution. And if you enjoy recreational mathematics, then you would know it right away, but otherwise you're going to be stuck for a while.
In this respect, it doesn't help to improve programming skill, IMHO. And especially not Python skill (this is an introductory exercise in Python, after all). Which is what Hackerrank is about.
This is just my opinion, of course. I don't know the first thing about constructing a "good" exercise myself :-)