Skip to content

Bug Report for interleaving-string #5091

@PaarthArya

Description

@PaarthArya

Bug Report for https://neetcode.io/problems/interleaving-string

I was able to pass all tests on Neetcode using a two-pointer approach in O(m+n) time, but this was because the test cases were not thorough enough. Upon running this on LeetCode, I found an important class of test cases with duplicate elements within s1 and s2 that I was not handling. This test case should be added to Neetcode as well.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions