今天想要分享的是會跟著滑鼠一起移動的小星星,先來看一下效果:
先來看一下 HTML
<body>
<div class="sta...
#include <vector>//1011 O(n log S) O(1)
using namespace std;
static inli...
個別對齊:align-self
css
.special-item {
align-self: flex-end;
/*把這個 .special-ite...
交叉軸對齊:align-items
控制項目在交叉軸上的對齊方式
拉伸填滿(預設)css
.align-stretch {
display: flex;...
226.Invert Binary Tree
DFS(深度優先搜尋)
想法:遞迴順序是 先遞迴左右子樹 (post-order),再交換當前節點左右子節點在每個...
21. Merge Two Sorted Lists
優化版
想法:當list為空離開迴圈是: current.next = (list1==null ? li...