1-savol (10 ball)
Input: nums = [2,7,11,15], target = 9
Output: [0,1]
Explanation: Because [0] + nums[1] == 9, we return [0, 1].
savol (5 ball)
Input: x = 8
Output: 2
Explanation: The square root of 8 is 2.82842..., and since we round it down to the nearest integer, 2 is returned.
savol (10 ball)
Input: n = 15
Output: ["1","2","Fizz","4","Buzz","Fizz","7","8","Fizz","Buzz","11","Fizz","13","14","FizzBuzz"]
savol (10 ball)
Input: names = ["Mary","John","Emma"],
heights = [180,165,170]
Output: ["Mary","Emma","John"]p
Explanation: Mary is the tallest, followed by Emma and John.
savol (20 ball)
Input: day = 15, month = 8, year = 1993
Output: "Sunday"
Do'stlaringiz bilan baham: |