LeetCode - Valid Parentheses

LeetCode 的 Valid Parentheses 題目如下: Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. ...

August 11, 2015 · 1 min · 444 words · Larry Nung

LeetCode - Contains Duplicate III

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. ...

July 28, 2015 · 1 min · 309 words · Larry Nung

PL/SQL - EXTRACT Function

EXTRACT function 可擷取日期或時間中指定部分的資料。 ...

July 16, 2015 · 1 min · 162 words · Larry Nung

PL/SQL - MONTHS_BETWEEN Function

MONTHS_BETWEEN function 可計算兩個日期相差多少月份。 ...

July 16, 2015 · 1 min · 122 words · Larry Nung

PL/SQL - LAST_DAY function

LAST_DAY function 會依帶入的日期回傳對應月份的最後一天。 ...

July 15, 2015 · 1 min · 100 words · Larry Nung

PL/SQL - NEXT_DAY function

NEXT_DAY function returns the first weekday that is greater than a date。 使用語法如下: ...

July 15, 2015 · 1 min · 153 words · Larry Nung

PL/SQL - ADD_MONTHS function

ADD_MONTHS function 可將帶入的日期月份做加減處理後回傳。 ...

July 14, 2015 · 1 min · 157 words · Larry Nung

PL/SQL - MOD function

MOD function 可傳回兩數相除後的餘數。 使用語法如下: ...

July 13, 2015 · 1 min · 76 words · Larry Nung

PL/SQL - FLOOR function

FLOOR function 可傳回小於或等於指定數值的最大整數值。 ...

July 13, 2015 · 1 min · 49 words · Larry Nung

PL/SQL - CEIL function

CEIL function 可傳回大於或等於指定數值的最小整數值。 ...

July 13, 2015 · 1 min · 49 words · Larry Nung