Skip to content

Missing Test Case - 344. Reverse String #19104

@ksachinnaik

Description

@ksachinnaik

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

Language used for code

class Solution {
public:
void reverseString(vector& s) {
int n;
int t=0;
int e= s.size()-1;
while(t<e){
swap(s[t++],s[e--]);
}
}

};

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

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