LinkedIn interview question

circular queue design implementaiotn in java