Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Ruslan Zinovyev
Where the test cases?

Ruslan Zinovyev

May 9, 2023

Hi there, why don't we have the test cases for the Two Pointers section? In the Warmup section, there were test cases for each task. It's difficult to be sure that algorithm is working as expected without test scenarios.

0

0

Comments
Comments
Design Gurus
Design Gurus2 years ago

When you run your code, take a look at its output. The main function has a few test cases that are used to verify the code. We are working on integrating the full testing the way it is done in the warmup questions.

On this page

Problem Statement

Try it yourself