iT邦幫忙

kata相關文章
共有 31 則文章
鐵人賽 自我挑戰組 DAY 30
各種筆記 系列 第 30

技術 [Kata] Clojure - Day 30

Responsible Drinking Codewars Bar recommends you drink 1 glass of water per stan...

鐵人賽 自我挑戰組 DAY 29
各種筆記 系列 第 29

技術 [Kata] Clojure - Day 29

Growth of a Population In a small town the population is p0 = 1000 at the beginn...

鐵人賽 自我挑戰組 DAY 28
各種筆記 系列 第 28

技術 [Kata] Clojure - Day 28

Sum of a sequence our task is to make function, which returns the sum of a seque...

鐵人賽 自我挑戰組 DAY 27
各種筆記 系列 第 27

技術 [Kata] Clojure - Day 27

Recursion 101 In this Kata, you will be given two positive integers a and b and...

鐵人賽 自我挑戰組 DAY 26
各種筆記 系列 第 26

技術 [Kata] Clojure - Day 26

Triangle number check A triangle number is a number where n objects form an equi...

鐵人賽 自我挑戰組 DAY 25
各種筆記 系列 第 25

技術 [Kata] Clojure - Day 25

Find the odd int Given an array of integers, find the one that appears an odd nu...

鐵人賽 自我挑戰組 DAY 24
各種筆記 系列 第 24

技術 [Kata] Clojure - Day 24

Human Readable Time Write a function, which takes a non-negative integer (second...

鐵人賽 自我挑戰組 DAY 23
各種筆記 系列 第 23

技術 [Kata] Clojure - Day 23

Dubstep For example, a song with words "I AM X" can transform into a d...

鐵人賽 自我挑戰組 DAY 22
各種筆記 系列 第 22

技術 [Kata] Clojure - Day 22

Sums of Parts 將給予的數列 ls = [0, 1, 3, 6, 10] 分成不同部分的數列直到沒有任何 element,再相加 ls = [0,...

鐵人賽 自我挑戰組 DAY 21
各種筆記 系列 第 21

技術 [Kata] Clojure - Day 21

Testing 1-2-3 Your team is writing a fancy new text editor and you've been taske...

鐵人賽 自我挑戰組 DAY 20
各種筆記 系列 第 20

技術 [Kata] Clojure - Day 20

Mumbling Example accum("abcd") ;; "A-Bb-Ccc-Dddd" accum(&...

鐵人賽 自我挑戰組 DAY 19
各種筆記 系列 第 19

技術 [Kata] Clojure - Day 19

Watermelon Pete and Billy are great fans of even numbers, that's why they want t...

鐵人賽 自我挑戰組 DAY 18
各種筆記 系列 第 18

技術 [Kata] Clojure - Day 18

Grasshopper - Personalized Message Create a function that gives a personalized g...

鐵人賽 自我挑戰組 DAY 17
各種筆記 系列 第 17

技術 [Kata] Clojure - Day 17

Sort and Star 給予一堆字串,用字首字母排序後,回傳第一個字串,並在字母間 insert "***" Example (deft...

鐵人賽 自我挑戰組 DAY 16
各種筆記 系列 第 16

技術 [Kata] Clojure - Day 16

Century From Year The first century spans from the year 1 up to and including th...

鐵人賽 自我挑戰組 DAY 15
各種筆記 系列 第 15

技術 [Kata] Clojure - Day 15

Grasshopper - Check for factor This function should test if the factor is a fact...

鐵人賽 自我挑戰組 DAY 14
各種筆記 系列 第 14

技術 [Kata] Clojure - Day 14

Convert number to reversed array of digits Given a random non-negative number, y...

鐵人賽 自我挑戰組 DAY 13
各種筆記 系列 第 13

技術 [Kata] Clojure - Day 13

Number toString Solution (ns number-toString) (def a (.toString 123)) How good...

鐵人賽 自我挑戰組 DAY 12
各種筆記 系列 第 12

技術 [Kata] Clojure - Day 12

No zeros for heros Numbers ending with zeros are boring. They might be fun in yo...

鐵人賽 自我挑戰組 DAY 11
各種筆記 系列 第 11

技術 [Kata] Clojure - Day 11

Grasshopper - Summation Write a program that finds the summation of every number...

鐵人賽 自我挑戰組 DAY 10
各種筆記 系列 第 10

技術 [Kata] Clojure - Day 10

Even or Odd 給予一個整數,如果是偶數回傳 Even; 奇數回傳 Odd Solution 1 (ns kata) (defn even-or-od...

鐵人賽 Modern Web DAY 9
完美 Camp 進化論 系列 第 9

技術 我剛接觸 Web Camp 的 KATA 版本!

簡單的說 Kata[1] 指的是在一定的動作之下,去體會設計這個動作的原因,遇見的痛點就是學習的點。 警語!!照著 Kata 練習,會遇到許多的困難。我會在這...

鐵人賽 自我挑戰組 DAY 9
各種筆記 系列 第 9

技術 [Kata] Clojure - Day 9

Maximum Length Difference You are given two arrays a1 and a2 of strings. Each st...

鐵人賽 自我挑戰組 DAY 8
各種筆記 系列 第 8

技術 [Kata] Clojure - Day 8

How do I compare numbers? What could be easier than comparing integer numbers? H...

鐵人賽 自我挑戰組 DAY 7
各種筆記 系列 第 7

技術 [Kata] Clojure - Day 7

Beginner Series - Clock Clock shows 'h' hours, 'm' minutes and 's' seconds after...

鐵人賽 自我挑戰組 DAY 6
各種筆記 系列 第 6

技術 [Kata] Clojure - Day 6

Is n divisible by x and y? Create a function that checks if a number n is divisi...

鐵人賽 自我挑戰組 DAY 5
各種筆記 系列 第 5

技術 [Kata] Clojure - Day 5

Function 1 - hello world Make a simple function called greet that returns the mo...

鐵人賽 自我挑戰組 DAY 4
各種筆記 系列 第 4

技術 [Kata] Clojure - Day 4

Alternate case Write function alternateCase which switch every letter in string...

鐵人賽 自我挑戰組 DAY 3
各種筆記 系列 第 3

技術 [Kata] Clojure - Day 3

Recursion 101 You will be given two positive integers a and b and your task will...

鐵人賽 自我挑戰組 DAY 2
各種筆記 系列 第 2

技術 [Kata] Clojure - Day 2

String repeat 依據給予的次數重複字串Write a function called repeat_str which repeats the gi...