They asked a Functional Programming question and a OOP question. I wasnt expecting the OOP since Leetcode pretty much is Functional Programming. They asked to implement a class card, class deck of cards and some easy methods.
Anonymous
I chose to do this on Java. Apply inheritance and class instances. One of the methods I implemented was shuffling a deck of cards using Math.random based on any sorting algorithm
Check out your Company Bowl for anonymous work chats.