95 karma · joined March 1, 2013
This trick will work for any number of bits though. You might not want to use 2^64 entries in your table.
I'm obviously biased but I think the problems are fun and the solutions are valuable. Here are some blog posts I wrote that hopefully give you an idea of our questions:
Given a table of currency exchange rates, determine whether there is a possible arbitrage: https://dailycodingproblem.com/blog/2018/01/02/find-an-arbit...
Picking a random element from an infinite stream: https://dailycodingproblem.com/blog/2017/11/30/random-elemen...
Merging k sorted lists: https://dailycodingproblem.com/blog/2017/11/29/how-to-solve-...
Edit: By the way, the tracker wasn't what.cd, was it?
I'm also working on a new landing page!
We send high quality programming questions every day. You can sign up to our mailing list for free to get problems starting tomorrow at 9AM PST.
I hope you enjoy our problems!
Ended up taking way longer than a weekend but it's still basically a passion project of mine. I used Node.js, Firebase, and React.
I have made no money off of this. In fact, I've probably paid hundreds in hosting/domain fees. But I love what I've built so far and use it everyday with my friends. Please check it out, I'd love to hear any feedback!
If we raise the minimum wage, that would surely increase unemployment. Even a minimum wage job is hard to get for an uneducated, unskilled person, so how would it be easier for them to get a job at a rate employers are even less willing to pay?
Part of the happiness that comes from a new relationship comes from not just discovering new things about each other (or NRE, or the Coolidge effect) but from the (misplaced) belief that things will go on this way forever. Embracing change means sacrificing that pleasure, which you might be able to do if you possess foresight/discipline, but it is hard and not obvious, especially when you have an of love that's foolish, us-against-the-world that reinforces that mentality.
Shameless plug, but you can also check out a collection of my favorite songs on my Juicebox: http://www.juicebox.dj/lawrence
It's mostly hip-hop, deep house, and experimental music.
Monopolies are not all bad. Sometimes a company has a monopoly because they just offer a better product (Amazon, Google) and they shouldn't be punished for that, especially when there's no government intervention that exists to protect them.
"Owners of valuable land would be forced to make maximum use of land with higher density rentals in order to make sufficient rental income to pay the land tax."
I don't see how this follows if all income is taxed at 100%.
The correct solution is to eliminate NIMBYism by eliminating the ability for homeowners to restrict the construction of new buildings so that new housing can be built. Rent control should also be eliminated, allowing demand to match supply.
I guess my main issue here is the clickbaity title, since I don't think Amazon is making us suckers. The consumer ultimately has the upper hand since they can just choose not to purchase the product, or use a price search engine to find a better deal (which is akin to using a coupon - people that are price-sensitive are more willing to put in effort to save money).
And what about student discounts? Is it unfair that students get better deals on Photoshop and Microsoft Office?