Giter VIP home page Giter VIP logo

algorithmscsharp's Introduction

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#.

algorithmscsharp's People

Contributors

adrianbailador avatar

Stargazers

Ivan Dorofeev avatar  avatar  avatar Mohamed Yousuf avatar Jan Ove Halvorsen avatar Vanilka avatar João Vitor Aguiar avatar john avatar serik avatar Josh Perez avatar mahesh gangineni avatar Rashmiranjan Baral avatar  avatar  avatar Emanuele avatar Kalicharan Pudi avatar CodeMancer avatar  avatar Jatin Patel avatar George Kopadze avatar Nisa Doğa Turhan avatar Iskander Khisamov avatar sepehr zarei avatar Herbert Costa da Rocha Faria avatar Ali avatar  avatar Mateusz avatar Alberto Castañeiras avatar Albert.Y avatar  avatar Will Baldoumas avatar  avatar Michael avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.