<record id="product_template_1" model="product.template"&...
用 Ripper.sexp 看 AST 內容
require 'ripper'
require 'pp'
pp Ripper.sexp <<~RUB...
CodeWars 題目
Link
難度
5 kyu
題目
斐波那契數:0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...
昨天介紹了Kotlin的條件式if、when
if範例 - 如下為一個比較a、b誰大,並找出較大者(max)的
if (a > b) {
ma...
Given an integer array nums, rotate the array to the right by k steps, where k...
Write a function to find the longest common prefix string amongst an array of s...