8000 init · losefor/rust-sorting-algorithims@2b75efa · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b75efa

Browse files
committed
init
0 parents  commit 2b75efa

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "rust-sorting-algorithims"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]

src/bubble-sort/bubble-sort.rs

Whitespace-only changes.

src/bubble-sort/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
| | best | wors |
2+
| ----------- | ---- | ------ |
3+
| Passes | O(1) | O(n) |
4+
| Comparisons | O(n) | O(n) |
5+
| Total | O(n) | O(n^2) |

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)
0