profile
Hello, Rabbit

Algorithm 27 - Total amount of points

Description:Our football team finished the championship. The result of each match look like "x:y". Results of all matches are recorded in the collecti

2021년 10월 6일
·
0개의 댓글
·

Algorithm 26 - Sum without highest and lowest number

Description:Sum all the numbers of the array (in F(The highest/lowest element is respectively only one element at each edge, even if there are more th

2021년 10월 6일
·
0개의 댓글
·

Algorithm 25 - Fake Binary

Description:Given a string of digits, you should replace any digit below 5 with '0' and any digit 5 and above with '1'. Return the resulting string.

2021년 10월 6일
·
0개의 댓글
·

Algorithm 24 - Beginner Series #2 Clock

Description:Clock shows h hours, m minutes and s seconds after midnight.Your task is to write a function which returns the time since midnight in mill

2021년 10월 6일
·
0개의 댓글
·

Algorithm 23 - Convert a String to a Number!

Description:Note: This kata is inspired by Convert a Number to a String!. Try that one too.DescriptionWe need a function that can transform a string i

2021년 10월 6일
·
0개의 댓글
·

Algorithm 22 - Function 1 - hello world

Description:Description:Make a simple function called greet that returns the most-famous "hello world!".Style PointsSure, this is about as easy as it

2021년 10월 6일
·
0개의 댓글
·

Algorithm 21 - Get the mean of an array

Description:It's the academic year's end, fateful moment of your school report. The averages must be calculated. All the students come to you and entr

2021년 10월 6일
·
0개의 댓글
·

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,

2021년 10월 6일
·
0개의 댓글
·

Algorithm 19 - Beginner - Lost Without a Map

Description:Given an array of integers, return a new array with each value doubled.For example:1, 2, 3 --> 2, 4, 6

2021년 10월 6일
·
0개의 댓글
·

Algorithm 18 - Count of positives / sum of negatives

Q. Description: Given an array of integers. Return an array, where the first element is the count of positives numbers and the second element is sum

2021년 10월 6일
·
0개의 댓글
·

Algorithm 17 - A Needle in the Haystack

Description:Can you find the needle in the haystack?Write a function findNeedle() that takes an array full of junk but containing one "needle"After yo

2021년 10월 6일
·
0개의 댓글
·

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

2021년 10월 6일
·
0개의 댓글
·

Algorithm 15 - Is n divisible by x and y?

Description:Create a function that checks if a number n is divisible by two numbers x AND y. All inputs are positive, non-zero digits.Examples:1) n =

2021년 10월 6일
·
0개의 댓글
·

Algorithm 14 - Keep Hydrated!

Description:Nathan loves cycling.Because Nathan knows it is important to stay hydrated, he drinks 0.5 litres of water per hour of cycling.You get give

2021년 10월 6일
·
0개의 댓글
·

Algorithm 13 - Square(n) Sum

Description:Complete the square sum function so that it squares each number passed into it and then sums the results together.For example, for 1, 2, 2

2021년 10월 6일
·
0개의 댓글
·

Algorithm 12 - Counting sheep...

Description:Consider an array/list of sheep where some sheep may be missing from their place. We need a function that counts the number of sheep prese

2021년 10월 6일
·
0개의 댓글
·

Algorithm 11 - Convert a Number to a String!

Description:We need a function that can transform a number into a string.What ways of achieving this do you know?In C, return a dynamically allocated

2021년 10월 6일
·
0개의 댓글
·

Algorithm 10 - Find the smallest integer in the array

Description:Given an array of integers your solution should find the smallest integer.For example:Given 34, 15, 88, 2 your solution will return 2Given

2021년 10월 6일
·
0개의 댓글
·

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.

2021년 10월 6일
·
0개의 댓글
·

Algorithm 8 - Grasshopper - Summation

Description:SummationWrite a program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than

2021년 10월 6일
·
0개의 댓글
·