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.
Scala translation
CoffeeScript translation
Wording suggestion:
In this Kata for a number
n >= 2
you need to produce a list of all positive integers1 <= k < n
wheregcd(n, k) == 1
.The list cannot include duplicate entries and has to be sorted.
JS: function name should be
camelCase
Also: should be updated to Node 18. completely
No one doesn't ask. What is the isomorphic word at this kata?
I looked to what is the isomorphic from internet?
But it isn't same with this kata. So I think the description must give more information about isomorphic.
Description is wrong, it is missing a parameter after "less than", because
gcd (n,k)==1
is a predicate, not an integer value.Lua translation
Go translation
D translation
Rust translation
C# translation transferred from duplicate kata.
Crystal translation transferred from duplicate kata.
(author is inactive)
Duplicate of a whole bunch of existing katas:
https://www.codewars.com/kata/find-the-unique-number
https://www.codewars.com/kata/find-the-unique-number-1
https://www.codewars.com/kata/find-the-unique-string
https://www.codewars.com/kata/find-the-unique
You should add random tests.