Skip to content

#16 Off-By-One Logic #16

@SagarTeotia1

Description

@SagarTeotia1

Concept: 0-based indexing vs length.

Problem: Loop goes up to i = 3. arr[3] is undefined.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions