Amazon Interview Question

LC hards and wanted optimized solutions for LC mediums