Java Interview Questions and Answers - Codility Lesson 02 (Cyclic Rotation)

preview_player
Показать описание
Line by line walkthrough to hit 100% on Codility
Lesson 02 - Cyclic Rotation

This is the second video of the series where we will be working our way through the entire list of Codility problems. These are great practice coding questions for interview. We will be solving these problems using Java. The goal is always going to be to reach 100% grading on these problems as quickly as possible. During an interview, you will likely get 15 minutes to solve a problem like this one.

Enjoy!
Vtutorials
Рекомендации по теме
Комментарии
Автор

Would it not be simpler to use the number of steps + current index modulo the size of the array for each element?

wh
visit shbcf.ru