Skip to content

Gas station description problem #19499

@MaratZakirov

Description

@MaratZakirov

LeetCode Username

Problem number, title, and link

Category of the bug

  • Problem description
  • Solved examples
  • Problem constraints
  • Problem hints
  • Incorrect or missing "Related Topics"
  • Incorrect test Case (Output of test case is incorrect as per the problem statement)
  • Missing test Case (Incorrect/Inefficient Code getting accepted because of missing test cases)
  • Editorial
  • Programming language support

Description of the bug

You must either replace test case or change description and add point "car cannot start moving without gas".
Because test case gas: [2, 0, 0, 0, ..., 0xN] cost [0, 1, 0, 0, ..., 0xN] will have many valid solution which is violate problem description

Language used for code

Code used for Submit/Run operation

// Paste your code here. Don't remove ``` given
// above and below the code.

Expected behavior

Screenshots

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions