• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
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 Réponse
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

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
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
Html learn
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes