辛西亞的技能樹


  • Categories

  • Tags

  • Archives

  • About

  • Search

【LeetCode】0024. Swap Nodes in Pairs

2019-06-17 | 面試刷題 |

Given a linked list, swap every two adjacent nodes and return its head.

Read more »

【LeetCode】0021. Merge Two Sorted Lists

2019-06-17 | 面試刷題 |

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.

Read more »

【LeetCode】0019. Remove Nth Node From End of List

2019-06-17 | 面試刷題 |

Given a linked list, remove the n-th node from the end of list and return its head.

Read more »

【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 »
1 … 15 16 17 … 23
辛西亞.Cynthia

辛西亞.Cynthia

自己整理過才是自己的

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