Lunski's Clutter

This is a place to put my clutters, no matter you like it or not, welcome here.

0%

為了因應近期的新目標,以往的工作與興趣文章將整合,這種不向前兼容的改動在git上應該稱為硬分岔吧,但熊生就是需要破壞式創新啊(掩。

Read more »

前幾天多年老友傳來這首歌,雖然接下來一個月目標不在這,但還不錯聽,就抓來研究一下。

Read more »

Given two integers a and b, return the sum of the two integers without using the operators + and -.

Example 1:

1
2
Input: a = 1, b = 2
Output: 3

Example 2:

1
2
Input: a = 2, b = 3
Output: 5
Read more »

Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.

Example 1:

1
2
Input: nums = [1,1,1,2,2,3], k = 2
Output: [1,2]

Example 2:

1
2
Input: nums = [1], k = 1
Output: [1]
Read more »