elements-of-programming-interviews icon indicating copy to clipboard operation
elements-of-programming-interviews copied to clipboard

Method stubs and test cases for the problems from Elements of Programming Interviews

Results 9 elements-of-programming-interviews issues
Sort by recently updated
recently updated
newest added

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

The import "javax.annotation.PostConstruct" is not necessary and also is not available in more recent versions of the JDK.

for test cases 1, 2, 3 the expected values should be 3, 11 & 22, respectively.

Thank you for creating this repo. Awesome Work!!! Helped me complete almost all the problems in EPI in a structured manner.

The list is `1, 2, 3, 4, 5, 6, 7, 8, 9, 10` and `list.get(3)` will return 4 which will not be equal to `cache.lookup(3)` having an expected value of...

Corrected the test ordered lists in the test cases as per the question defined in EPI question 6.1.

Right now the get() method on ListNode starts indexing at 1, but it should maintain Java standards and start at 0. This will require a large refactor to change all...

enhancement

Does this test contain every case? *No cycles - Overlap *No cycles - No overlap *One cycle - No overlap (vacuous) *Two cycles - Overlap before cycle starts *Two cycles...

enhancement
question

For the case of an overlap with a shared cycle the book says there are two possible nodes that allow the test to pass. Current test only allows one of...

enhancement