IT Contents/프로그래밍 팁
Sum by Factors, CodeWars Kata 자바 솔루션
Sum by Factors, CodeWars Kata Sum by Factors Given an array of positive or negative integers I= [i1,..,in] you have to produce a sorted array P of the form [ [p, sum of all ij of I for which p is a prime factor (p positive) of ij] ...] P will be sorted by increasing order of the prime numbers. The final result has to be given as a string in Java, C#, C, C++ and as an array of arrays in other lan..
2021. 4. 17. 07:00
최근댓글