13. Roman to Integer
題目描述:羅馬數字包含以下七種字符:I、V、X、L、C、D 和 M。例如,羅馬數字 2 寫作 II,即為兩個並列的 1...
🟨最大正方形
本題取自 Leetcode 221. Maximal Square
題目
Given an m x n binary matrix filled...
在這題我們需要判斷兩個字串 s 和 t 是否是 isomorphic。
題目:
兩個字串長度相等。
s 中每個字元能唯一映射到 t 的某個字元。
同時,t...
28. Find the Index of the First Occurrence in a String
題目描述:
給定兩個字符串 haystack 和...
961. N-Repeated Element in Size 2N Array
tags: Easy、Sizeof
You are given an int...
27. Remove Element
題目描述:
給定一個陣列 nums 和一個值 val,你需要原地移除所有數值等於 val 的元素,並返回移除後陣列的新長度...