Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alfex4936/v-algorithms

Algorithms in V language
https://github.com/alfex4936/v-algorithms

algorithm v

Last synced: 7 days ago
JSON representation

Algorithms in V language

Awesome Lists containing this project

README

        





Algorithms in V language

[vlang.io](https://vlang.io) |
[Docs](https://github.com/Alfex4936/v/blob/master/doc/docs.md)

## Introduction

V is a statically typed compiled programming language designed for building maintainable software.

It's similar to Go and its design has also been influenced by Oberon, Rust, Swift,
Kotlin, and Python.

V is a very simple language. Going through this documentation will take you about half an hour,
and by the end of it you will have pretty much learned the entire language.

The language promotes writing simple and clear code with minimal abstraction.

Despite being simple, V gives the developer a lot of power. Anything you can do in other languages,
you can do in V.

## Table of Contents



* Sorting Algorithms
* [Bubble Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/bubble_sort.v)
* [Count Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/count_sort.v)
* [Heap Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/heap_sort.v)
* [Insertion Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/insertion_sort.v)
* [Introspective Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/intro_sort.v)
* [Merge Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/merge_sort.v)
* [Quick Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/quick_sort.v)
* [Selection Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/selection_sort.v)
* [Sleep Sort](https://github.com/Alfex4936/V-algorithms/blob/master/sorting/sleep_sort.v)
* Math
* [Fibonacci Number](https://github.com/Alfex4936/V-algorithms/blob/master/maths/fibo_memoize.v)
* [Find min and max in Array](https://github.com/Alfex4936/V-algorithms/blob/master/maths/find_min_max.v)
* [Kadane's Algorithm](https://github.com/Alfex4936/V-algorithms/blob/master/maths/kadane_algorithm.v)
* [Prime Factorization](https://github.com/Alfex4936/V-algorithms/blob/master/maths/kadane_algorithm.v)
* [Sum of digits](https://github.com/Alfex4936/V-algorithms/blob/master/maths/sum_of_digits.v)


* Array
* [Subarray Sort](https://github.com/Alfex4936/V-algorithms/blob/master/array/subarray_sort.v)
* Graph
* [Binary Search Tree](https://github.com/Alfex4936/V-algorithms/blob/master/graph/bst.v)
* Strings
* [Balanced Brackets](https://github.com/Alfex4936/V-algorithms/blob/master/strings/nested_bracket.v)
* [Palindrome check](https://github.com/Alfex4936/V-algorithms/blob/master/strings/palindrome.v)