Skip to content
View ethmcc's full-sized avatar

Block or report ethmcc

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Design Patterns in Python for the Un... Design Patterns in Python for the Untrained Eye
    1
    # Exercises from PyCon 2019 workshop 
    2
    # https://www.youtube.com/watch?v=o1FZ_Bd4DSM
    3
    
                  
    4
    from abc import ABC, abstractmethod
    5
    
                  
  2. Array.diff https://www.codewars.com/... Array.diff https://www.codewars.com/kata/523f5d21c841566fde000009
    1
    use::std::collections::HashSet;
    2
    
                  
    3
    fn array_diff<T: Eq + std::hash::Hash + Clone>(a: Vec<T>, b: Vec<T>) -> Vec<T> {
    4
        let b_hash_set: HashSet<T> = b.into_iter().collect();
    5
        let mut c: Vec<T> = a.clone();
  3. Spinning Words https://www.codewars.... Spinning Words https://www.codewars.com/kata/5264d2b162488dc400000001
    1
    conditionalReverse :: Bool -> String -> String
    2
    conditionalReverse b s
    3
       | b = reverse s
    4
       | otherwise = s
    5