Lunski's Clutter

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

0%

Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]).

Return the running sum of nums.

Example 1:

1
2
3
Input: nums = [1,2,3,4]
Output: [1,3,6,10]
Explanation: Running sum is obtained as follows: [1, 1+2, 1+2+3, 1+2+3+4].

Example 2:

1
2
3
Input: nums = [1,1,1,1,1]
Output: [1,2,3,4,5]
Explanation: Running sum is obtained as follows: [1, 1+1, 1+1+1, 1+1+1+1, 1+1+1+1+1].

Example 3:

1
2
Input: nums = [3,1,2,10,1]
Output: [3,4,6,16,17]
Read more »

Given a column title as appear in an Excel sheet, return its corresponding column number.

For example:

A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28 
...

Example 1:

1
2
Input: "A"
Output: 1

Example 2:

1
2
Input: "AB"
Output: 28

Example 3:

1
2
Input: "ZY"
Output: 701
Read more »

《清初蘇州崑劇劇壇研究》是胞兄寫的書,有興趣歡迎到以下連結。

Read more »

Google是我很景仰的公司,本業瀏覽器,搜尋引擎,Gmail跟地圖都非常方便,雲端硬碟裡各個office軟體,colab也成了我每天必須使用的工具,而GCP,Youtube則是工作跟學各種課程必備工具,每當使用時總會好奇這家公司為什麼可以做到這些,為了瞭解這家公司文化跟處世方法,我決定開始閱讀Google。

Read more »

  1. 目標需簡單明確
  2. 表達目標方式為增加有效產出,減少存貨與營運費用
  3. 能從生活學習方法(遷移學習
  4. 要有知道瓶頸的洞察力,並解決他,追求局部效益沒用
  5. 瓶頸與非瓶頸資源看供需法則,供>需:非瓶頸,供<需:瓶頸
  6. 黑貓(老設備)白貓(新設備),能抓老鼠(完成訂單)就是好貓
  7. 瞎忙沒用,產出至上
Read more »