My cool site
文章 標籤 分類
My cool site
Cancel
文章標籤分類

LeetCode 1822. Sign of the Product of an Array 解題紀錄

Elvire published on 2021-12-20 included in leetcode
取得所有數字乘積的正負號。Get the sign of product of all values in the array nums
Read More
 array, math, easy, c++

LeetCode 566. Reshape the Matrix 解題紀錄

Elvire published on 2021-12-13 included in leetcode
將 matrix 修改成指定大小。Reshape the matrix.
Read More
 array, matrix, simulation, easy, c++

LeetCode 74. Search a 2D Matrix 解題紀錄

Elvire published on 2021-12-06 included in leetcode
檢查是否矩陣中含有指定的元素。Check if the target exists in the mxn array.
Read More
 array, binary search, matrix, medium, c++

LeetCode 191. Number of 1 Bits 解題紀錄

Elvire published on 2021-11-01 included in leetcode
計算二進位數字中有幾個 1。Count the number of ‘1’ bits it has.
Read More
 bit manipulation, easy, c++

【C++】int to string & string to int

Elvire published on 2021-10-04 included in Computer System
C++ 中 int 和 string 的轉換。
Read More
 c++

LeetCode 387. First Unique Character in a String 解題紀錄

Elvire published on 2021-09-27 included in leetcode
尋找字串中第一個出現的唯一字母。Traverse the string, get the first unique character.
Read More
 hash table, string, queue, counting, easy, c++
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 9
Powered by Hugo | Theme - LoveIt
2014 - 2023 elvire | CC BY-NC 4.0