原创 運行bat文件,一閃而過的問題

因爲現在項目組的web應用做的差不多了,所以需要用Jmeter對其進行相應的壓力測試。但奇怪的事情發生了,按照說明配好環境變量後,點擊jmeter.bat文件卻得到一閃而過的結果。然後各種找原因,最終圓滿解決。 其實,問題的原因很簡單,就

原创 Mysql create table tb as select 和create table tb like的區別

對於mysql的複製相同表結構方法,有create table as 和create table like 兩種,區別是什麼呢?     create table t2 as select * from t1 where 1=2 ;

原创 [LeetCode] Longest Valid Parentheses

Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parenth

原创 [LeetCode] Binary Search Tree Iterator

Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.

原创 [LeetCode] Word Break II

Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid di

原创 [LeetCode] Scramble String

Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. B

原创 [leetCode] Fraction to Recurring Decimal

Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If

原创 [LeetCode] Compare Version Numbers

Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1 < version2 return -1,

原创 [LeetCode] Excel Sheet Column Title

Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A