Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
BigInt would make it much easier like a level 7 Kyu. The challenge makes it a level 4.
BigInt is only available with Node 10.4 and we can only use 8.1.3
BigInt would make it much easier like a level 7 Kyu.
BigInt is only available with Node 10.4 and we can only use 8.1.3
Its a duplicate of one of the issues below.
JS should be updated to Node 18.
BigInt
can be disabled by overriding it in preloaded code:Even if this kata used a newer version of Node, the whole point of this kata is to write your own algorithm for summing huge integers instead of using
BigInt
.Got it, without the packages, it could be challenging, you're right.
This task is ranked 4 kyu because it is meant to be solved in languages without BigInteger support. It was initially created in JavaScript before BigInt was a thing. Unfortunately, the kata aged very bad and spoiled by the fact that it was translated to languages with big integers, or bigintegers have been added to existing languages.
It is still relevant for C, C++, and some old languages, and languages which still have no bigint numeric types, but there's not many of those today.
I updated the go translation and i would appreciate a review. Additionally, I believe it might too easy for a 4 kyu level.
I don't think you understood what I was trying to say. Normally, bigint is coded using an array of multiple unsigned longs, with each one representing ~60 bits of the original big number. But this kata uses strings. Which is fine, of course, but I suggested that you mention that wasn't standard.
The task mentions clearly that inputs are strings, so it should serve as a good hint that inputs can go beyond the range of unsigned longs. So closing this one ^^
Closing, this is not in-line with the task's requirements
A very good one :)
Wow
Accomplished in c++
duplicate of this and that issues
Loading more items...