今天是本系列進入 JavaScript 主題的第一天,那麼就先寫個 前陣子面試 時遇到的快速排序法吧! 本系列文已經重新編校彙整編輯成冊,並正式出版囉!《前...
Photo by Jessica Yung on The Blog 前言 Codewars 是一個稱為 Code Warriors 的開...
題目(5kyu): ROT13 is a simple letter substitution cipher that replaces a letter w...
Growth of a Population 等級:7kyu 原始題目 In a small town the population is p0 = 1000...
Stop gninnipS My sdroW! 等級:6kyu 原始題目 Write a function that takes in a string of...
題目(5kyu): When we throw 2 classical dice (values on each side from 1 to 6) we h...
題目(5kyu): My friend John and I are members of the "Fat to Fit Club (FFC)&q...
Isogram 等級:7kyu 原始題目isogram的解釋 An isogram is a word that has no repeating letter...
題目(5kyu): 1, 246, 2, 123, 3, 82, 6, 41 are the divisors of number 246. Squaring...
題目(5kyu): You are given a string containing 0's, 1's and one or more '?', where...
題目(6kyu): A twin prime is a prime number that is either 2 less or 2 more than a...
題目(5kyu): A natural number is called k-prime if it has exactly k prime factors,...
題目(5kyu): The number 1089 is the smallest one, non palindromic, that has the sa...
題目(5kyu): The rgb function is incomplete. Complete it so that passing in RGB de...
開場白 筆者非本科系24歲,過去沒有上過正式程式課程的經驗。買了堂線上程式課後決定來寫codewars練習,參加鐵人賽紀錄我學習的日常,長期目標是未來能從0開始...
題目(5kyu): What is an anagram? Well, two words are anagrams of each other if the...
題目(5kyu): In some countries of former Soviet Union there was a belief about luc...
題目(6kyu): The number 89 is the first integer with more than one digit that fulf...
題目(6kyu): Write a program that will calculate the number of trailing zeros in a...
題目(5kyu): Pete likes to bake some cakes. He has some recipes and ingredients. U...
題目(5kyu): The prime numbers are not regularly spaced. For example from 2 to 3 t...
題目(5kyu): Write a function named first_non_repeating_letter that takes a string...
題目(5kyu): Complete the function scramble(str1, str2) that returns true if a por...
題目(6kyu): DESCRIPTION:Some numbers have funny properties. For example: 89 -->...
題目(6kyu): Complete the solution so that it splits the string into pairs of two...
題目(6kyu): If we list all the natural numbers below 10 that are multiples of 3 o...
題目(5kyu): The maximum sum subarray problem consists in finding the maximum sum...
題目(5kyu): Coding decimal numbers with factorials is a way of writing out number...
題目(5kyu): Complete the function that accepts two integer arrays of equal length...
題目(6kyu): Write a function that takes an array of numbers (integers for the tes...