Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
octavefb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
octavefb
8y ago
octave a=[1:100]; b=strcat({'','fizz'}([1+!mod(a,3)]),{'','buzz'}([1+!mod(a,5)])); a=num2cell(int16(cellfun(@isempty,b)).*a); b(cellfun(@isempty,b))=0; strcat(b,a)