LeetCode - Valid Parentheses
LeetCode 的 Valid Parentheses 題目如下: Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. ...
LeetCode 的 Valid Parentheses 題目如下: Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. ...
LeetCode 的 Contains Duplicate III 題目如下: Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j] is at most t and the difference between i and j is at most k. ...
EXTRACT function 可擷取日期或時間中指定部分的資料。 ...
MONTHS_BETWEEN function 可計算兩個日期相差多少月份。 ...
LAST_DAY function 會依帶入的日期回傳對應月份的最後一天。 ...
NEXT_DAY function returns the first weekday that is greater than a date。 使用語法如下: ...
ADD_MONTHS function 可將帶入的日期月份做加減處理後回傳。 ...
MOD function 可傳回兩數相除後的餘數。 使用語法如下: ...
FLOOR function 可傳回小於或等於指定數值的最大整數值。 ...
CEIL function 可傳回大於或等於指定數值的最小整數值。 ...