Question In a Binary Search Tree (BST), an Inorder Successor of a node is defined as the node with the smallest key greater than the key of the input node (see examples below). Given a node inputNode ...
Question Given an array of unique characters arr and a string str, Implement a function getShortestUniqueSubstring that finds the smallest substring of str containing all the characters in arr. Return ...
Question You’re testing a new driverless car that is located at the Southwest (bottom-left) corner of an n×n grid. The car is supposed to get to the opposite, Northeast (top-right), corner of the grid ...
交換兩個變數 a, b = b, a 先運算完等號右邊才賦值給等號左邊
Question Given an array arr of unique nonnegative integers, implement a function getDifferentNumber that finds the smallest nonnegative integer that is NOT in the array. Even if your programming langu ...
一週心得 「子音 + 母音」應該一氣呵成的發,並且子音的持續時間只有極短一瞬間 Ex: 固 ─ 「固ㄨ~」、為 ─ 「ㄨㄟ~」 換氣時用鼻子換氣(為擴張開鼻腔及咽腔後方空間),換氣時間很短時口鼻並用 發聲練習 橫膈膜訓練 將身體分做:胸部、上腹部(至肚臍為止)、下腹部 用鼻子吸飽氣,以擴張開鼻腔及咽腔後方空間 肚子吸飽氣,要感覺到腹部兩側及背部也鼓起至隆起 用雙手手掌前端強力插入上腹部,腹部不出力 ...
List Comprehensions List Comprehension [with Condition] [e for e in array [if e …]] 2-Dimensional List Comprehension mat = [1 * n] * m ⇒ [n, n, …, n] mat = [[1] * n]] * m ⇒ mat[i] is mat ...
Certbot
選用AMI:Ubuntu 20.04 LTS Ubuntu Server 20.04 LTS (HVM), SSD Volume Type – ami-088da9557aae42f39 (64-bit x86) 執行個體類型需求:t2.medium 注意: 要運行一個低流量的郵件伺服器, 要求至少 2 GB 記憶體才能使用完整的垃圾郵件和病毒掃描功能 設置 Super User 密碼 ...
sudo passwd ubuntu