Community

Filters

By Category

Hi, guys!
I have a question about "Sum Digits Until One" problem. When I run the code for all the test cases everything is perfect, but when I click 'RUN TESTS' button, it gives me an error:
4
('An error occurred!', NameError("name 'assertEqual...

in the case [ 11, 13, 21, 3 ] shouldn't the answer be [ 13, 21, -1, 11 ] ?
The first few are straight forward it seems 11 -> 13, 13 -> 21, 21 -> -1.
For 3 we loop back to the start so 3 would map to 11 ...

Hi, I'm having trouble with Is An Anagram (/challenges/is-an-anagram).
I would like to think I have the correct code but it is giving me fails on the test.
It returns False in pycharm when using Mary and Army but here it gives me a fail. It should...

I am new to this platform and I have a question.
Are solutions only written in javascript?
I am into python and plan to write my solution in python and compare with solutions written in python.
Can anyone please help in this regards.
Second, when ...

For this challenge/exercise:
https://algodaily.com/challenges/closures-and-dependency-injection
How would I get this createFactories(logger) function to work. I'm not sure of what to put as the argument in place of 'looger' parameter in the funct...

Hi guys, Jake here, founder of AlgoDaily. Thanks for checking the site out! I'm looking for feedback on what you guys would like to see. Is it more coding challenges? More career guides? A better way to reach out to professional developers? Let me...

I think for the solution you provided, we must account for the case of the character or letter as well as the whitespaces.<p>So here's my solution:</p><p><code><br>/* jshint esversion: 6 */<br><br>function isPalindrome(str) {<br>if (! isAlphaNumer...

I am a last year CS designing student M21. I'm from Canada by way of Pakistan. I'm at present seeking after my student from Pakistan as well. I might want to seek after a graduate degree in CS from the US due to the nature of instruction and resea...

i've been a dev 3 years, current company is a university. decent gig but i've always been more of a social person. coding is just meetings/pretty standardized. i like freedom like in sales. have heard sales eng is a good route, thoughts?

in https://algodaily.com/challenges/implement-a-graph, I don't get why
addEdge(src, dest) {
this.adjacencyList.get(src).push(dest);
this.adjacencyList.get(dest).push(src);
// push to both adjacency lists
}
we need to push to both? isn'...

There was a reddit thread about this https://www.reddit.com/r/cscareerquestions/comments/buvudx/decliningfuturedemandforswe/
Key point:
Furthermore, the U.S. Bureau of Labor Statistics forecasts that jobs for computer programmers will decline by ...