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 finally solved the challenge! Woo! First off, I have to say I love your website, guys, and it is so fun to solve these challenges. Keep it up! I hope you guys make more and more challenges to come! (Says the guy who only has 2 challenges done, lol).
Second thing, I wanted to address some weird things I was experiencing while doing this challenge. Maybe it's my browser? Maybe because I'm using Mac? Well, I saw things like,
+++ Getting the same test input to run against my code rather than randomized input (within your challenge "constraints"). The test input comes straight from the example. 3 test cases (T). 2, 12, 1012 (N).
+++ The integer, 2, isn't giving me an output. Nor is there an output for 2 or an explanation for the integer 2 on the challenge page. Shouldn't all integers between 0 and 10 work? 1 divided by 1 works I think? 2 divided by 2? 3 divided by 3 divides nicely.
+++ Because of the above problem, I had to hard-code into my code to tell it to skip over 2 when it checks its digits.
Anywho, those are just some small things I noticed. Other than that, I love Hacker Rank. It's so professionally made and I love the design. Clean and polished. Makes me want to solve challenges errday!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Find Digits
You are viewing a single comment's thread. Return to all comments →
I finally solved the challenge! Woo! First off, I have to say I love your website, guys, and it is so fun to solve these challenges. Keep it up! I hope you guys make more and more challenges to come! (Says the guy who only has 2 challenges done, lol).
Second thing, I wanted to address some weird things I was experiencing while doing this challenge. Maybe it's my browser? Maybe because I'm using Mac? Well, I saw things like,
+++ Getting the same test input to run against my code rather than randomized input (within your challenge "constraints"). The test input comes straight from the example. 3 test cases (T). 2, 12, 1012 (N).
+++ The integer, 2, isn't giving me an output. Nor is there an output for 2 or an explanation for the integer 2 on the challenge page. Shouldn't all integers between 0 and 10 work? 1 divided by 1 works I think? 2 divided by 2? 3 divided by 3 divides nicely.
+++ Because of the above problem, I had to hard-code into my code to tell it to skip over 2 when it checks its digits.
Anywho, those are just some small things I noticed. Other than that, I love Hacker Rank. It's so professionally made and I love the design. Clean and polished. Makes me want to solve challenges errday!