前言
今天要解的題目是 Search Insert Position(搜尋插入位置)。
題目要求我們在一個已經排序好的陣列中找到目標數字的位置。
如果找到目...
You are given a string s and a robot that currently holds an empty string t. App...
題目:設計一個資料結構來支持以下兩種操作:
void addWord(word):將字串 word 新增到資料結構中。
bool search(word)...
題目
題目翻譯
給一個連結陣列,交換兩兩相鄰的節點並且回傳。範例: 1->2->3->4, return 2->1->4->...
Component 的三大生命週期
生命週期就是指一個 React Component 在被創建到被銷毀的過程中,會經歷的一系列階段。
一. Mount
Mou...
題目Forbidden Paths
他說 websites files 會儲存在 /usr/share/nginx/html/而 flag 位置在 /flag....