辛西亞的技能樹


  • Categories

  • Tags

  • Archives

  • About

  • Search

【LeetCode】0018. 4Sum

2019-06-17 | 面試刷題 |

Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.

Read more »

【CodiMD】docker-compose 備份

2019-06-14 | 資訊科技 › 開發與輔助工具 , 資訊科技 › 系統備援 |

這是 安裝完 CodiMD 後在執行定期備份時踩到的坑…在使用 crontab + script 定期備份時,我百思不得其解,為啥我跑出來的 backup.sql 會是空的? 更讓我不解的是,我手動執行 script 的結果卻是正常的!???

Read more »

【Shell Script】使用 crontab + script 定期備份並保留30天

2019-06-14 | 程式設計 › 程式語言與架構 , 資訊科技 › 系統備援 |

這是 CodiMD 安裝的後續…,雖然跟 CodiMD 沒啥關係 XD 這次的主要目的是為 CodiMD 做一個定期備份,另外為了儲存空間上的考量,備份檔案只保留 30 天,一旦超過就刪除資料。

Read more »

【Shell Script】if ... else 條件判斷式

2019-06-14 | 程式設計 › 程式語言與架構 |

Shell Script 的條件宣告是用 [] ,if 條件後面需接 then ,block 結束後接 fi

Read more »

【Shell Script】檢查檔案是否為空白

2019-06-14 | 程式設計 › 程式語言與架構 |

在寫 Shell Script 時 ,想確定某檔案是否為空,若為空則想執行其他動作。

Read more »

【LeetCode】0017. Letter Combinations of a Phone Number

2019-06-11 | 面試刷題 |

Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.

Read more »

【LeetCode】0016. 3Sum Closest

2019-06-11 | 面試刷題 |

Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution.

Read more »

【LeetCode】0015. 3Sum

2019-06-11 | 面試刷題 |

Given an array nums of n integers, are there elements a, b, c in nums such that a+ b + c = 0? Find all unique triplets in the array which gives the sum of zero.

Read more »

【LeetCode】0014. Longest Common Prefix

2019-06-10 | 面試刷題 |

Write a function to find the longest common prefix string amongst an array of strings.

Read more »

【LeetCode】0013. Roman to Integer

2019-06-06 | 面試刷題 |

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.

Read more »
1 … 15 16 17 … 23
辛西亞.Cynthia

辛西亞.Cynthia

自己整理過才是自己的

223 posts
20 categories
121 tags
RSS
© 2018 - 2023 辛西亞.Cynthia
Powered by Jekyll
Theme - NexT.Mist