clojure相關文章

### 技術 [Kata] Clojure - Day 30

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

### 技術 [Kata] Clojure - Day 29

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

### 技術 [Kata] Clojure - Day 28

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

### 技術 [Kata] Clojure - Day 27

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

### 技術 [Kata] Clojure - Day 26

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

### 技術 [Kata] Clojure - Day 25

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

### 技術 [Kata] Clojure - Day 24

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

### 技術 [Kata] Clojure - Day 23

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

### 技術 [Kata] Clojure - Day 22

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

### 技術 [Kata] Clojure - Day 21

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

### 技術 [Kata] Clojure - Day 20

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

### 技術 [Kata] Clojure - Day 19

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

### 技術 [Kata] Clojure - Day 18

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

### 技術 [Kata] Clojure - Day 17

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

### 技術 [Kata] Clojure - Day 16

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

### 技術 [Kata] Clojure - Day 15

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

### 技術 [Kata] Clojure - Day 14

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

### 技術 [Kata] Clojure - Day 13

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

### 技術 [Kata] Clojure - Day 12

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

### 技術 [Kata] Clojure - Day 11

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

### 技術 [Kata] Clojure - Day 10

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

### 技術 [Kata] Clojure - Day 9

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

### 技術 [Kata] Clojure - Day 8

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

### 技術 [Kata] Clojure - Day 7

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

### 技術 [Kata] Clojure - Day 6

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

### 技術 [Kata] Clojure - Day 5

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

### 技術 [Kata] Clojure - Day 4

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

### 技術 [Kata] Clojure - Day 3

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

### 技術 [Kata] Clojure - Day 2

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