Pregunta de entrevista de Salesforce

Find Maximum value K such that array has at-least K elements. The Stock Span Problem Design Problem for Amazon Music <Playlist,Albums,Songs,Podcasts>