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

https://github.com/fresult/mywebproject


https://github.com/fresult/mywebproject

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

Test Web Project
==
xxxxxxxxxxx `index.html` xxxxxxxxxx
![Markdown Icon](https://miro.medium.com/max/1200/0*JjLfghKPEh5JO7QK.png)

## Feature
+ Feature xxx
+ Feature yyy
+ Feature zzz

## Exam Code
```scala
object QuickSortFP extends App {

// create an array of random 10m random ints

val r = scala.util.Random
val randomArray = (for (i <- 1 to 10000000) yield r.nextInt(10000)).toArray

// do the sorting
val sortedArray = quickSort(randomArray)

// the fp/recursive algorithm
def quickSort(xs: Array[Int]): Array[Int] = {
if (xs.length <= 1) xs
else {
val pivot = xs(xs.length / 2)
Array.concat(
quickSort(xs filter (pivot >)),
xs filter (pivot ==),
quickSort(xs filter (pivot <)))
}
}
}
```

## Credit
Sila Setthakan-anan
> Educated by Code Camp 4
Create Example code => https://www.geeksforgeeks.org/quick-sort

### About Author
[My domain](https://fResult.dev)
[My blog](https://medium.com/@fResult)