Leetcode-Matrix

Yunrui Li
Apr 1, 2021

2-D矩陣題目:
1.把 each cell 想成x-y coordinate上的一點用index代表.

2.Binary Matrix可以想到sparse matrix的處理方式, 只儲存index whose value is 1.

  • 48. Rotate Image

--

--

Yunrui Li

I’m Taiwanese expat. I’v worked in Singapore as data scientist after graduation from Taiwan and currently I work in Amsterdam as machine learning engineer.