mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-15 02:40:58 +08:00
fix(csharp): Modify method name to PascalCase, simplify new expression (#840)
* Modify method name to PascalCase(array and linked list) * Modify method name to PascalCase(backtracking) * Modify method name to PascalCase(computational complexity) * Modify method name to PascalCase(divide and conquer) * Modify method name to PascalCase(dynamic programming) * Modify method name to PascalCase(graph) * Modify method name to PascalCase(greedy) * Modify method name to PascalCase(hashing) * Modify method name to PascalCase(heap) * Modify method name to PascalCase(searching) * Modify method name to PascalCase(sorting) * Modify method name to PascalCase(stack and queue) * Modify method name to PascalCase(tree) * local check
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="bubble_sort.cs"
|
||||
[class]{bubble_sort}-[func]{bubbleSort}
|
||||
[class]{bubble_sort}-[func]{BubbleSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@@ -135,7 +135,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="bubble_sort.cs"
|
||||
[class]{bubble_sort}-[func]{bubbleSortWithFlag}
|
||||
[class]{bubble_sort}-[func]{BubbleSortWithFlag}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="bucket_sort.cs"
|
||||
[class]{bucket_sort}-[func]{bucketSort}
|
||||
[class]{bucket_sort}-[func]{BucketSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="counting_sort.cs"
|
||||
[class]{counting_sort}-[func]{countingSortNaive}
|
||||
[class]{counting_sort}-[func]{CountingSortNaive}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@@ -152,7 +152,7 @@ $$
|
||||
=== "C#"
|
||||
|
||||
```csharp title="counting_sort.cs"
|
||||
[class]{counting_sort}-[func]{countingSort}
|
||||
[class]{counting_sort}-[func]{CountingSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -89,9 +89,9 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="heap_sort.cs"
|
||||
[class]{heap_sort}-[func]{siftDown}
|
||||
[class]{heap_sort}-[func]{SiftDown}
|
||||
|
||||
[class]{heap_sort}-[func]{heapSort}
|
||||
[class]{heap_sort}-[func]{HeapSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="insertion_sort.cs"
|
||||
[class]{insertion_sort}-[func]{insertionSort}
|
||||
[class]{insertion_sort}-[func]{InsertionSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -78,9 +78,9 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="merge_sort.cs"
|
||||
[class]{merge_sort}-[func]{merge}
|
||||
[class]{merge_sort}-[func]{Merge}
|
||||
|
||||
[class]{merge_sort}-[func]{mergeSort}
|
||||
[class]{merge_sort}-[func]{MergeSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="quick_sort.cs"
|
||||
[class]{QuickSort}-[func]{swap}
|
||||
[class]{quickSort}-[func]{Swap}
|
||||
|
||||
[class]{QuickSort}-[func]{partition}
|
||||
[class]{quickSort}-[func]{Partition}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@@ -162,7 +162,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="quick_sort.cs"
|
||||
[class]{QuickSort}-[func]{quickSort}
|
||||
[class]{quickSort}-[func]{QuickSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@@ -264,9 +264,9 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="quick_sort.cs"
|
||||
[class]{QuickSortMedian}-[func]{medianThree}
|
||||
[class]{QuickSortMedian}-[func]{MedianThree}
|
||||
|
||||
[class]{QuickSortMedian}-[func]{partition}
|
||||
[class]{QuickSortMedian}-[func]{Partition}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@@ -360,7 +360,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="quick_sort.cs"
|
||||
[class]{QuickSortTailCall}-[func]{quickSort}
|
||||
[class]{QuickSortTailCall}-[func]{QuickSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -57,11 +57,11 @@ $$
|
||||
=== "C#"
|
||||
|
||||
```csharp title="radix_sort.cs"
|
||||
[class]{radix_sort}-[func]{digit}
|
||||
[class]{radix_sort}-[func]{Digit}
|
||||
|
||||
[class]{radix_sort}-[func]{countingSortDigit}
|
||||
[class]{radix_sort}-[func]{CountingSortDigit}
|
||||
|
||||
[class]{radix_sort}-[func]{radixSort}
|
||||
[class]{radix_sort}-[func]{RadixSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
=== "C#"
|
||||
|
||||
```csharp title="selection_sort.cs"
|
||||
[class]{selection_sort}-[func]{selectionSort}
|
||||
[class]{selection_sort}-[func]{SelectionSort}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
Reference in New Issue
Block a user