Skip to content

Files

Latest commit

 

History

History

perform-string-shifts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 27, 2021

< Previous                  Next >

Related Topics

[Array] [Math] [String]

Hints

Hint 1 Intuitively performing all shift operations is acceptable due to the constraints.
Hint 2 You may notice that left shift cancels the right shift, so count the total left shift times (may be negative if the final result is right shift), and perform it once.