Algorithm
https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/
Review
How to troubleshoot a JVM OutOfMemoryError problem
如何解決OOM的問題:
- Capture a JVM heap dump 抓取堆信息dump
- Restart the application 重啟服務(wù)
- Diagnose the problem 定位問題
Tip
在本地啟動(dòng)Tomcat服務(wù)芯侥,用localhost:8080來測(cè)試接口威沫,不用部署到服務(wù)器上再測(cè)接口
Share
語法:MySQL中INSERT IGNORE INTO和REPLACE INTO的使用
insert ignore 配合數(shù)據(jù)庫唯一索引,實(shí)現(xiàn)跳過已存在的數(shù)據(jù)庞萍,只插入不存在的數(shù)據(jù)