commit f450e6c5f09226225431e5f38056cbd49bedeb9e Author: Matthew Binning Date: Thu Feb 26 07:50:03 2026 -0800 init: Start new project from template diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..baa2908 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ctci" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..6b6b234 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "ctci" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e0fcb36 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,8 @@ +fn main() { + println!("Hello, world!"); +} + +// Is Unique: Implement an algorithm to determine if a string has all unique characters. +// What if you cannot use additional data structures? + +// Check Permutation: Given two strings, write a method to decide if one is a permutation of the other. \ No newline at end of file