Update overrides directory structure.

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
krahets
2023-10-08 04:42:57 +08:00
gitea-unlock(16/)
parent 7e15726bb5
commit 51dab9dd25
octicon-diff(16/tw-mr-1) 4 changed files with 4 additions and 4 deletions

4
codes/csharp/chapter_searching/binary_search_edge.cs
View File

@@ -20,7 +20,7 @@ public class binary_search_edge {
} }
/* 二分查找最右一个 target */ /* 二分查找最右一个 target */
public int binarySearchRightEdge(int[] nums, int target) { public int BinarySearchRightEdge(int[] nums, int target) {
// 转化为查找最左一个 target + 1 // 转化为查找最左一个 target + 1
int i = binary_search_insertion.BinarySearchInsertion(nums, target + 1); int i = binary_search_insertion.BinarySearchInsertion(nums, target + 1);
// j 指向最右一个 target i 指向首个大于 target 的元素 // j 指向最右一个 target i 指向首个大于 target 的元素
@@ -43,7 +43,7 @@ public class binary_search_edge {
foreach (int target in new int[] { 6, 7 }) { foreach (int target in new int[] { 6, 7 }) {
int index = BinarySearchLeftEdge(nums, target); int index = BinarySearchLeftEdge(nums, target);
Console.WriteLine("最左一个元素 " + target + " 的索引为 " + index); Console.WriteLine("最左一个元素 " + target + " 的索引为 " + index);
index = binarySearchRightEdge(nums, target); index = BinarySearchRightEdge(nums, target);
Console.WriteLine("最右一个元素 " + target + " 的索引为 " + index); Console.WriteLine("最右一个元素 " + target + " 的索引为 " + index);
} }
} }

4
mkdocs.yml
View File

@@ -59,8 +59,8 @@ theme:
font: font:
text: Noto Sans SC text: Noto Sans SC
code: Fira Code code: Fira Code
favicon: assets/favicon.png favicon: assets/images/favicon.png
logo: assets/logo.png logo: assets/images/logo.png
icon: icon:
logo: logo logo: logo
repo: fontawesome/brands/github repo: fontawesome/brands/github

0
overrides/assets/favicon.png → overrides/assets/images/favicon.png
View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

0
overrides/assets/logo.png → overrides/assets/images/logo.png
View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB