init: Start new project from template

This commit is contained in:
Matthew Binning 2026-02-26 07:50:03 -08:00
commit f450e6c5f0
4 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View file

@ -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"

6
Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "ctci"
version = "0.1.0"
edition = "2024"
[dependencies]

8
src/main.rs Normal file
View file

@ -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.