show objects from array 1 sec and hide 1 second in Java Script

I have a hard time finding the right answer to this question.

I have an array with 10 objects. I created each object as its own div.

I want to show each div for 1 sec the hide it for 1 sec then show the next one and so on until all 10 objects been showed once, then I want to show a next button.

I understand I need set interval and set timeout, but I dont know how?