摘要:
【题目描述】现在有一片树林, 小 B 很想知道, 最少需要多少步能围绕树林走一圈, 最后回到起点. 他能上下左右走,也能走对角线格子。土地被分成 R 行 C 列(1≤R≤50,1≤C≤50),下面是一张样例的地图,其中“.”表示小 B 可以走的空地,"X"表示树林,"*”表示起点。而小 B 走的最近 阅读全文
摘要:
题目:An array of size n ≤ 10^6 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very right. Y 阅读全文