Skip to content

Incorrect file extension and other improvements #2716

@shivamshrey

Description

@shivamshrey

Describe the bug

  • File name is incorrect.
  • Algorithm can be improved.
  • Lots of typos and syntax errors.
  • Inconsistent formatting throughout
  • Incorrect file extension
  • File naming convention is not followed.
  • Missing URL for algorithm explanation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'detect_and_create_loop.jav'
  2. Try running the file

Expected behavior

  • The file extension should be .java and not .jav.
  • The file name and class name should be proper.
  • The code should be readable.
  • No syntax errors or typos.

Screenshots

Device Specification

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions