Coder Social home page Coder Social logo

gardncl / elements-of-programming-interviews Goto Github PK

View Code? Open in Web Editor NEW
899.0 59.0 447.0 370 KB

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

Home Page: http://bit.ly/2qalTxT

License: MIT License

Java 100.00%
elements-of-programming-interviews programming-interviews hamcrest java junit4 maven maven-surefire

elements-of-programming-interviews's People

Contributors

gardncl avatar psj258 avatar varunu28 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elements-of-programming-interviews's Issues

FindOverlappingWithCycles

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 them--write a test that allows either of them to pass.

How do I run the tests?

Hi, thank you for the repository. I'm new to using java with IntelliJ. Can you tell me understand how exactly I should be running the tests for the repo?

ListNode 'get' method

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 uses of the get method inside of the tests.

Thank You!!!

Thank you for creating this repo.
Awesome Work!!!

Helped me complete almost all the problems in EPI in a structured manner.

FindOverlappingWithCycles edge cases?

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 - Overlap inside cycle
*Two cycles - No overlap

BaseConversionTest needs capital letter

Inside of test/strings/BaseConversionTest.java

baseConversion2() contains the string "2c996b726" which needs to be upper case or else the user has to handle for case which is not the intent of the book.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.