Salesforce Interview Question

Code high level class hierarchy to implement a Library system that includes Library book checkouts, returns, search based on title, partial title search, author, ISBN and other meta data. There were questions about why I chose a particular Data structure and how it can scale in terms of future changes and Performance.

Interview Answer

Anonymous

Sep 8, 2017

I coded Class definitions with Data structures (Map and List) and explained how Library class can be extended to include additional HashMaps for future searches. Coding was done in 'collabedit' website document.

1