OMGWTF
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
9 ms·
- 61.▲
- 62.▲
- 63.▲
- 64.▲
- 65.▲
- 66.▲
- 67.▲
The basic idea is to encode the array within a single integer: 0 + [anything, 31,28,31,30,31,30,31,31,30,31,30,31]
28 + [anything, 3, 0, 3, 2, 3, 2, 3, 3, 2, 3, 2, 3]
00, 11,00,11,10,11,10,11,11,10,11,10,11
reverse - 68.▲
- 69.▲
- 70.▲
- 71.▲
- 72.▲
- 73.▲
- 74.▲