在過去的30天鐵人競賽中,我經歷了一段充實而挑戰性的旅程。這個競賽不僅僅是技術上的挑戰,更是對毅力和學習能力的考驗。
一開始,我對於在短時間內每天發表一篇文章的...
介紹代理模式對目標物件提供額外的存取限制。
C++範例
#include <iostream>
#include <memory>
c...
Given an integer array nums, rotate the array to the right by k steps, where k...
state 就像是一個快照(snapshot)
Rendering 指的是 React 呼叫元件 (元件是一個 function),return 的 JSX 就...
用 Ripper.sexp 看 AST 內容
require 'ripper'
require 'pp'
pp Ripper.sexp <<~RUB...
arr=[]
while 1:
try:
arr.append(list(input()))
except:
break
m=0
for i in...