Skip to content

My answer to an interviewing question I had for Whitepages; going to look into creating and uploading some test files. O(n) solution but I didn't pass the interview which leads me to believe I missed something somewhere.

Notifications You must be signed in to change notification settings

samloop/ArrayJumps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ArrayJumps

My answer to an interviewing question I had for Whitepages; going to look into creating and uploading some test files. O(n) solution but I didn't pass the interview which leads me to believe I missed something somewhere.

Problem

The bare bones of the problem can be found here: https://www.geeksforgeeks.org/minimum-number-of-jumps-to-reach-end-of-a-given-array/

In the case of the problem presented to me, landing on a 0 meant failure, and stdout had to include the path we had to take (that is, every index that we used as a jump.)

About

My answer to an interviewing question I had for Whitepages; going to look into creating and uploading some test files. O(n) solution but I didn't pass the interview which leads me to believe I missed something somewhere.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages