2020.08.13
First Post
New blog
The old one looked sussy and it was difficult to read the content
This one look simple, 👍👍👍👍👍👍👍👍👍👍👍👍👍👍
the challenge is, how to make a good content
bubble_sort<T: Ord>(arr: &mut [T]) {
for i in 0..arr.len() {
for j in 0..arr.len() - 1 - i {
if arr[j] > arr [j + 1] {
arr.swap(j, j + 1);
}
}
}
}
`mdx test`