2021-12-20
2021-02-22
【LeetCode】解析_1108. Defanging an IP Address
Given a valid (IPv4) IP address
, return a defanged version of that IP address.
A defanged IP address replaces every period "."
with "[.]"
.
Example 1:
Input: address = "1.1.1.1" Output: "1[.]1[.]1[.]1"
Example 2:
Input: address = "255.100.50.0" Output: "255[.]100[.]50[.]0"
2019-02-19
【LeetCode】解析_167. Two Sum II - Input array is sorted
2019-02-18
【LeetCode】解析_26. Remove Duplicates from Sorted Array
2019-02-18
【LeetCode】解析_929. Unique Email Addresses
2019-02-11
【LeetCode】解析_977. Squares of a Sorted Array
排序平方後的數字陣列:參考及出處:LeetCode
2019-02-11
【LeetCode】解析_709. To Lower Case
轉變小寫
參考及出處網站:Leetcode
2019-02-11
【LeetCode】解析_771.Jewels and Stones
珠寶與石頭 參考及出處:LeetCode
2019-02-11
【LeetCode】解析_14.Longest Common Prefix
如圖:
2019-01-31
【LeetCode】解析_9.Palindrome Number
- 1
- 2