Skip to content

Description is misleading or wrong #19112

@Dev-AbdulHannan

Description

@Dev-AbdulHannan

LeetCode Username

AbdulHannan12

Problem number, title, and link

189. Rotate Array

Category of the bug

  • Problem description
  • Problem hints

Description of the bug

According to the function definition provided in the code editor by default the function should not return anything instead it should modify the original array in place then in question followup there is no need of saying
"Could you do it in-place with O(1) extra space?" because that is already expected by us to do it in 0(1) complexity hence it is misleading or wrong
followup

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions