loading...
Jay profile picture

Jay

A polyglot programmer

Joined Joined on  GitHub logo
Work status

I'm looking for work!

All 45 Comments

re: Daily Challenge #280 - Driving School
fn cost(mins: u8) -> u8 { if mins < 5 { ret...
re: Daily Challenge #191 - Alphabetical Addition
Rust solution fn add_letters(chars: Vec<char>) -&gt...
re: Daily Challenge #193 - What's the Real Floor?
Rust pattern matching fn get_real_floor(n: i32) -> i32...
re: Daily Challenge #194 - Spread Number
Rust fn spread(n: u32) -> Vec<u32> { (1..n +...
re: Daily Challenge #189 - Convert Number into Reversed Array
Rust one liner: fn convertNtA(num: i32) -> Vec<u32&...
re: Daily Challenge #190 - capitalizeFirstLast
Rust Solution: fn capital_first_last(sentence: &str) ...
re: Daily Challenge #54 - What century is it?
Rust: fn century_name(year: u32) -> String { let c...
re: Daily Challenge #49 - Dollars and Cents
Rust Function: fn format_dollar(price: f32) -> String ...
re: Daily Challenge #48 - Facebook Likes
Rust Playground fn fb_likes(names: &[&...
re: Daily Challenge #46 - ???
Rust fn no_questions (s: &str) -> Strin...
re: Daily Challenge #44 - Mexican Wave
Rust "one-liner" Playground fn wave(s: &str) -> Ve...
re: Daily Challenge #39 - Virus
Rust Solution: Playground fn solver(sentance: &str) -...
re: Daily Challenge #40 - Counting Sheep
Rust solution: [Playground]( fn count_sheeps(num: u32) -&...
re: Daily Challenge #43 - Boardgame Fight Resolver
Rust Solution: Playground fn fight_resolver(defender: Cla...
re: Daily Challenge #37 - Name Swap
Rust Playground fn name_shuffler(name: &str) -> St...
re: Project Euler #7 - 10001st prime
Rust Solution: Playground Got it to 17s, from 34s using th...
re: Project Euler #6 - Sum Square Difference
Rust Solution: Playground fn main() { println!("{}",...
re: Project Euler #5 - Finding the Smallest Multiple
Rust Solution Playground fn main() { println!("{}", ...
re: Project Euler #4 - Largest Palindrome Product
Love to work on the challenges, please keep this series run...
re: Daily Coding Problem #3
Go solution. Its a bit verbose as it does not have optional...
re: Daily Coding Problem #2
Simple Rust solution: fn product_array(array: &[i32]...
re: Daily Coding Problem #1
Rust solution: use std::collections::HashSet; fn two_add...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
I try to use the func keyword when defining methods, that w...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
Rust Solution: use std::f64; use std::io::{self, prelude...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
Rust Solution: struct MyQueue { stack1: Vec<i32&g...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
Rust Solution: fn rental_car_cost(days: i32) -> i32 {...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
Rust Solution: fn dont_give_me_5(start: usize, end: usiz...
re: Daily Coding Puzzles - Nov 11th - Nov 16th
Rust Solution: fn format_words(words: &[&str]) -...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
KYU is used for grading the difficulty levels, or degree of...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
Rust With Liftime. The returned Vec<&T> has el...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
Rust fn product(list: &[i32]) -> i32 { list.i...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
Rust fn guess_blue(blue_start: u32, red_start: u32, blue...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
Rust fn scramble(str1: &str, str2: &str) -> b...
re: Daily Coding Puzzles - Nov 4th - Nov 9th
Rust use std::io::{self, prelude::*}; fn find_last_wor...
re: Higher-Order Functions in Rust
I implemented a simplified version, of your pure functions....
re: dev.to Show us your octocat alter ego
Simply me..
re: Project Euler #3 - Largest Prime Factor
Simple Rust solution fn largest_prime(num: u64) -> u6...
re: Narcissistic number
The inclusive range (..=) that I've used is available from ...
re: Write a script to identify similarity from two string.
Rust solution for similarity of strings. It uses iterative ...
re: Narcissistic number
My Rust solution. fn is_narc(n: i32) -> bool { let ...
re: Check if the chain has the same amount
Rust Solution. fn check_x_o(s: &str) -> bool { ...
re: Project Euler #2 - Even Fibonacci numbers
A simple iterative Rust Solution. Takes about 0.9 sec, and ...
re: Write a script to find "Happy Numbers"
A simple Rust Solution fn is_happy(mut n :i32) -> boo...
re: Write a script to identify an anagram
Rust way, could be done better. This just compares the char...
loading...