1 follower
Loves code, croons to old tunes, and often nods off mid-task. In Procrasti-Nation's hall of fame for "I'll do it later" champions! ππΆπ»
Definition The Factory Method pattern is a creational design pattern that defines an interface for creating objects, but allows subclasses to alter...
Definition The Simple Factory pattern is a creational design pattern that encapsulates the object creation process by providing a centralized factory...
Problem: Longest Palindrome Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be...
Problem: Valid Anagram Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by...
Problem: Valid Palindrome A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric...