- 博客(6)
- 收藏
- 关注
原创 LeetCode91:解码方式计数
https://leetcode.com/problems/decode-ways/问题描述A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given a no...
2020-01-31 17:09:45 191
原创 LeetCode88:合并两个有序数组
https://leetcode.com/problems/merge-sorted-array/问题描述Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:The number of elements initialized in nums...
2020-01-30 18:12:23 117
转载 Java XML File read/write
https://coderanch.com/t/531756/languages/DOM-put-inserting-indentshttps://www.journaldev.com/901/modify-xml-file-in-java-dom-parser
2020-01-15 16:16:27 142
原创 用Sed命令查找匹配的内容,并在查找到的行之前/之后插入新内容
#匹配行前加sed -i '/searchtext/iNew Line' file.txt#匹配行前后sed -i '/searchtext/aNew Line' file.txt
2020-01-08 08:58:40 4830
原创 LeetCode84:求柱状图中最大的矩形
https://leetcode.com/problems/largest-rectangle-in-histogram/问题描述Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest re...
2020-01-06 16:27:15 100
原创 LeetCode79:单词匹配
https://leetcode.com/problems/word-search/问题描述Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adja...
2020-01-03 15:50:35 299
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人