News for hackers. Stuff that matters.
Re:Coding Interview Tips by obituary_latte on Wednesday October 16, 2013 @11:36AM (#6560230)
-1 for forcing sign in. What if I don't care about saving my progress? What if I'm not a member of any of those services? Answer: 10 second pageview guaranteed to not become a return visiter.
Re:Coding Interview Tips by HeyItsJames on Wednesday October 16, 2013 @11:48AM (#6560309)
They have a list of all the questions you can go through, no sign in required. Not sure what you're talking about.

http://www.interviewcake.com/all-questions

Re:Coding Interview Tips by obituary_latte on Wednesday October 16, 2013 @11:56AM (#6560361)
That's great. Now, go to their homepage without being logged in and see if you can find a link anywhere to the all-questions page.
Re:Coding Interview Tips by binarycrusader on Wednesday October 16, 2013 @12:04PM (#6560402)
Only by using "view source":

            <!--
            <li>
                <a href="/all-questions">All Questions</a>
            </li>
            -->
Note that they've commented out the link for some reason.
Re:Coding Interview Tips by obituary_latte on Wednesday October 16, 2013 @12:12PM (#6560446)
Hrm. Maybe that's one of the interview questions.
Re:Coding Interview Tips by itsybitsycoder on Wednesday October 16, 2013 @11:57AM (#6560364)
He's talking about the normal flow of the site (click the big blue button at the bottom of the first page, then the second page). This leads to a "Login with Github/Google/Facebook" prompt that can't be skipped. You can close it, but that doesn't get you anywhere.
Re:Coding Interview Tips by Splendor on Wednesday October 16, 2013 @12:13PM (#6560457)
I would guess that obituary_latte is talking about the fact that there's no link to the page you're referring to.
Re:Coding Interview Tips by bpicolo on Wednesday October 16, 2013 @03:44PM (#6561712)
Worst part is their max-stack isn't optimal. You can do it with O(1) additional space.
Re:Coding Interview Tips by BHSPitMonkey on Wednesday October 16, 2013 @06:08PM (#6562410)
Please explain. Without maintaining that ordering, you're going to have to iterate over the entire stack after every pop, no? One of their requirements was to keep pop() at O(1) rather than O(n).
Re:Coding Interview Tips by gameguy43 on Wednesday October 16, 2013 @04:36PM (#6562024)
Hm. How?
Re:Coding Interview Tips by Deestan on Thursday October 17, 2013 @06:09AM (#6564417)
Also, cookies are perfectly fine for saving progress.