The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.]
Bonus though...
2年以上 前
解決済み
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...
2年以上 前
解決済み
Perfect Square
Determine if the input is a perfect square (square of an integer) or not.
Example -
If input is 25(==5^2), return 1.
If input...
2年以上 前
解決済み
Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes.
Example: the result ...