My solutions for some implementations