• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

8kyu

Algorithm 9 - Remove String Spaces

Description: Simple, remove the spaces from the string, then return the resultant string. For C, you must return a new dynamically allocated string....

8kyuCodewarsalgorithmC8kyu

Algorithm 16 - Basic Mathematical Operations

Description: Your task is to create a function that does four basic mathematical operations. The function should take three arguments - operation(string/char), value1(number), value2(number). The function should return r...

8kyuCodewarsalgorithmC8kyu

Algorithm 26 - Sum without highest and lowest number

Description: Sum all the numbers of the array (in F# and Haskell you get a list) except the highest and the lowest element (the value, not the index!). (The highest/lowest element is respectively only one element at each...

8kyuCodewarsalgorithmC8kyu

Algorithm 20 - Invert values

Description: Given a set of numbers, return the additive inverse of each. Each positive becomes negatives, and the negatives become positives. invert([1,2,3,4,5]) == [-1,-2,-3,-4,-5] invert([1,-2,3,-4,5]) == [-1,2,-3,4,-...

8kyuCodewarsCalgorithm8kyu

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more