LinkedIn interview question

How you would code a slideshow?