• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Rotating array

Can anyone help me, how to solve rotating array problems?

pythonc++javaarrayarrayproblem
16th Apr 2020, 5:51 PM
Psycho
Psycho - avatar
1 Antwort
0
Hi. In Python you can use: print([1,2,3,4][::-1]) and your array will be rotated.
16th Apr 2020, 7:49 PM
Dmytro Novak
Dmytro Novak - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Vote Code
1 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Html learn
1 Votes
Java doubt coders
0 Votes