Skip to content

Cyclic List - Brute force approach : Looking for better solution. #1

Description

@prasadtelkikar

Description:

  • Currently, the brute force approach contains length check as an exit condition for the inner loop.
  • I believe this logic can be re-written in a better way, so looking for it.

It can be with while() loop or maybe for loop(s) without if() condition which checks the length.

Code which I am talking about:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions