maikhoff / AlgorithmsCSharp

C# Algorithms

Home Page:https://github.com/AdrianBailador

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algorithms in C#

Repository Description

Welcome to the Algorithms in C# repository! In this project, you will find implementations of various popular algorithms written in C#. The goal of this repository is to provide examples of common algorithms and serve as a reference for students and developers looking to learn and improve their C# and algorithmic skills.

List of Algorithms

Below is a list of the algorithms implemented in this repository:

  1. Bubble Sort: A simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order.

  2. Insertion Sort: An efficient sorting algorithm that builds a sorted list one item at a time, moving the unsorted elements to their correct position in the sorted list.

  3. Binary Search: An efficient search algorithm that finds the desired value within a sorted list by repeatedly dividing the list in half and comparing the desired value with the value in the middle.

  4. DataTypeChecker: A function that checks and returns the data type of a variable in C#.

  5. FindIndex: A method that finds the index of a specific element in a list or array.

  6. GetArrayData: A function that generates and returns an array of data.

  7. GetMax: A method that finds the maximum value in an array or list.

  8. GetMaxofMaxRow: A function that finds the maximum value of a matrix of matrices.

  9. GetNumberFromRandom: A function that generates and returns a random number within a specific range.

  10. GetPrime: A method that checks if a given number is a prime number.

  11. IndexOfArray: A method that searches for a specific element in an array and returns its index.

  12. InvokeDelegate: An example of how to invoke delegates in C#.

  13. IsPrime: A function that checks if a given number is a prime number.

  14. IsSymmetric: A function that checks if a matrix is symmetric (a matrix that is equal to its transpose).

  15. ReverseArray: A function that reverses the order of elements in an array.

  16. ReverseNumberA: A function that reverses an integer using arithmetic operations.

  17. ReverseNumberB: A function that reverses an integer by converting it to a string and manipulating its characters.

  18. StringBenchmark: An example of how to benchmark the performance of different string operations in C#.

About

C# Algorithms

https://github.com/AdrianBailador


Languages

Language:C# 100.0%