If the A* calculation for a shortcut (in Step 3) finds it's now impassable, or if its actual detailed cost is significantly different (e.g., 20%) from the pre-calculated shortcut value:
// 最后一个非叶子节点索引: n/2 - 1
,这一点在WPS下载最新地址中也有详细论述
printArray(arr, n);
[&:first-child]:overflow-hidden [&:first-child]:max-h-full"