iT邦幫忙

codewars相關文章
共有 65 則文章
鐵人賽 Modern Web DAY 6

技術 06. [JS] 請你在旁邊的白板寫個快速排序演算法。

今天是本系列進入 JavaScript 主題的第一天,那麼就先寫個 前陣子面試 時遇到的快速排序法吧! 本系列文已經重新編校彙整編輯成冊,並正式出版囉!《前...

技術 鼠年全馬鐵人挑戰 WEEK 33:線上測試練習平台 - Codewars

           Photo by Jessica Yung on The Blog 前言 Codewars 是一個稱為 Code Warriors 的開...

技術 CodeWars : 新手村練等紀錄02- Growth of a Population

Growth of a Population 等級:7kyu 原始題目 In a small town the population is p0 = 1000...

技術 CodeWars : 新手村練等紀錄03- Stop gninnipS My sdroW!

Stop gninnipS My sdroW! 等級:6kyu 原始題目 Write a function that takes in a string of...

技術 CodeWars : 新手村練等紀錄01- Isograms

Isogram 等級:7kyu 原始題目isogram的解釋 An isogram is a word that has no repeating letter...

鐵人賽 自我挑戰組 DAY 29

技術 [Day29] Codewars >>> Weight for weight (Python)

題目(5kyu): My friend John and I are members of the "Fat to Fit Club (FFC)&q...

鐵人賽 自我挑戰組 DAY 22

技術 [Day22] Codewars >>> Rot13 (Python)

題目(5kyu): ROT13 is a simple letter substitution cipher that replaces a letter w...

鐵人賽 自我挑戰組 DAY 20

技術 [Day20] Codewars >>> Integers: Recreation One (Python)

題目(5kyu): 1, 246, 2, 123, 3, 82, 6, 41 are the divisors of number 246. Squaring...

鐵人賽 自我挑戰組 DAY 18

技術 [Day18] Codewars >>> Probabilities for Sums in Rolling Cubic Dice (Python)

題目(5kyu): When we throw 2 classical dice (values on each side from 1 to 6) we h...

鐵人賽 自我挑戰組 DAY 4

技術 [Day4] Codewars >>>The search for Primes! Twin Primes!(Python)

題目(6kyu): A twin prime is a prime number that is either 2 less or 2 more than a...

鐵人賽 自我挑戰組 DAY 30

技術 [Day30] Codewars >>> 1's, 0's and wildcards (Python)

題目(5kyu): You are given a string containing 0's, 1's and one or more '?', where...

鐵人賽 自我挑戰組 DAY 28

技術 [Day28] Codewars >>> Consecutive k-Primes (Python)

題目(5kyu): A natural number is called k-prime if it has exactly k prime factors,...

鐵人賽 自我挑戰組 DAY 23

技術 [Day23] Codewars >>> Numbers and its Reversal Having Same Prime Factors. (Python)

題目(5kyu): The number 1089 is the smallest one, non palindromic, that has the sa...

鐵人賽 自我挑戰組 DAY 1

技術 [Day1] Codewars >>> Persistent Bugger (Python)

開場白 筆者非本科系24歲,過去沒有上過正式程式課程的經驗。買了堂線上程式課後決定來寫codewars練習,參加鐵人賽紀錄我學習的日常,長期目標是未來能從0開始...

鐵人賽 自我挑戰組 DAY 11

技術 [Day11] Codewars >>> RGB To Hex Conversion (Python)

題目(5kyu): The rgb function is incomplete. Complete it so that passing in RGB de...

鐵人賽 自我挑戰組 DAY 15

技術 [Day15] Codewars >>> Where my anagrams at? (Python)

題目(5kyu): What is an anagram? Well, two words are anagrams of each other if the...

鐵人賽 自我挑戰組 DAY 21

技術 [Day21] Codewars >>> Luck check (Python)

題目(5kyu): In some countries of former Soviet Union there was a belief about luc...

鐵人賽 自我挑戰組 DAY 7

技術 [Day7] Codewars >>> Number of trailing zeros of N!(Python)

題目(6kyu): Write a program that will calculate the number of trailing zeros in a...

鐵人賽 自我挑戰組 DAY 12

技術 [Day12] Codewars >>> Gap in Primes (Python)

題目(5kyu): The prime numbers are not regularly spaced. For example from 2 to 3 t...

鐵人賽 自我挑戰組 DAY 26

技術 [Day26] Codewars >>> Pete, the baker (Python)

題目(5kyu): Pete likes to bake some cakes. He has some recipes and ingredients. U...

鐵人賽 自我挑戰組 DAY 27

技術 [Day27] Codewars >>> First non-repeating character (Python)

題目(5kyu): Write a function named first_non_repeating_letter that takes a string...

鐵人賽 自我挑戰組 DAY 9

技術 [Day9] Codewars >>> Playing with digits (Python)

題目(6kyu): DESCRIPTION:Some numbers have funny properties. For example: 89 --&gt...

鐵人賽 自我挑戰組 DAY 24

技術 [Day24] Codewars >>> Split Strings (Python)

題目(6kyu): Complete the solution so that it splits the string into pairs of two...

鐵人賽 自我挑戰組 DAY 13

技術 [Day13] Codewars >>> Scramblies (Python)

題目(5kyu): Complete the function scramble(str1, str2) that returns true if a por...

鐵人賽 自我挑戰組 DAY 10

技術 [Day10] Codewars >>> Maximum subarray sum (Python)

題目(5kyu): The maximum sum subarray problem consists in finding the maximum sum...

鐵人賽 自我挑戰組 DAY 2

技術 [Day2] Codewars >>> Multiples of 3 or 5 (Python)

題目(6kyu): If we list all the natural numbers below 10 that are multiples of 3 o...

鐵人賽 自我挑戰組 DAY 3

技術 [Day3] Codewars >>> Counting Duplicates (Python)

題目(6kyu): Count the number of DuplicatesWrite a function that will return the c...

鐵人賽 自我挑戰組 DAY 16

技術 [Day16] Codewars >>> Mean Square Error (Python)

題目(5kyu): Complete the function that accepts two integer arrays of equal length...

鐵人賽 自我挑戰組 DAY 6

技術 [Day6] Codewars >>> Two Sum (Python)

題目(6kyu): Write a function that takes an array of numbers (integers for the tes...