Hacker News new | past | comments | ask | show | jobs | submit | corporateslave3's comments login

I had this as well, an off by one error on a binary search resulted in a rejection...


I had a really good tech interview a while back, where I had to reverse a string in place, and then reverse only the words in a string in place (so "this is a test" => "siht si a tset")

Anyway, I had a couple of off by errors. The interviewer asked me if I was sure I didn't have any, so I had a look through, stepped through the code, and lo and behold, I did. While I was doing this process, we ended up having a discussion about how unit testing would help avoid problems like off by 1 errors, and would make iterating through the code and refactoring a lot easier.

That's what a good tech interview should look like, not expecting someone to write perfect code, first time.

On a side note, I didn't end up getting the job, since they had apparently hired someone the day before I came in for the interview. Apparently I managed to apply for the job the day they closed applications, but they asked if I wanted to interview anyway, out of courtesy.


Honestly? Just master data structures, get competing offers at FB and Google, make 350-400k a year, invest heavily and aggressively, retire in 7 or 8 years


I keep hearing salaries mentioned like this and I'm sure some developers make this but I really don't think the average developer is making this at these companies, based on salary comparison websites, etc. A developer who makes this, I'm assuming, would be working in machine learning / quasi-AI type of stuff and that is probably not the type of job you're going to get right out of college unless you have a PHD. I can't imagine any reason Facebook would pay this to devs for run of the mill dev roles when it's clearly so far above market rate.


Why data structures?


To get through the interview process. Their interviews are a bunch of algorithm questions, and data structures is the starting point.


When he says "data structures" he actually means "interview questions".

Data structures and algorithms interview questions are the only thing that Google and FB care about.


I can imagine an UI designer coming in for an interview. ...yeah I want you to invert a binary tree.


You joke about that, but I had a friend who interviewed for a developer Evangelist role at Google, and literally the only stuff that they were asked was algorithms questions.

Yeah, it was a 50% technical role, but Google didn't care about the OTHER 50% of the job at all...


you'll need them for the interview :P


just start writing high data volume spark programs, you wont quite understand or remember why the configs and tuning params are what they are until you try.


Mac book/iPhone, unfortunately.

I use them more than anything else.


Pay no attention to the man behind the curtain...


It's rigged but for the time being it works. So is it really that bad?


It works? For who?

Ask the people who lost homes in 2008 if it works.

99,99% of world wealth is held by less than 1000 people.

Can you wrap your head around that? Less than 1000 people control all the wealth for the other 7 billion people who happen to be alive on this planet.

The environment is a wreck, the world is being destroyed, entire coral reefs are dying, we are pouring radiation into the sea, there are artificial islands of trash in the ocean.

We as a species will not last more than 100 more years on this planet.

What exactly "works" in your opinion? You have an iPhone built by slaves in China? Is that it? What works?


There are problems in the world but people will exist on the planet for far far longer than 100 years into the future.

Plastic in the ocean won't stop that, coral reefs dying won't stop that, global warming won't stop that, nuclear war won't stop that.

Not saying we shouldn't try to solve problems but lets keep things in perspective here.


"The ocean's dying. The plankton's dying. It's people. Soylent green is made out of people. They're making our food out of people. Next thing they'll be breeding us like cattle... for food. You've gotta tell 'em."

You've gotta tell 'em!


> 99,99% of world wealth is held by less than 1000 people.

Citation needed.


I'm not quite sure this says 99.99%, but it's bleak none the less.

https://www.theguardian.com/global-development/2017/jan/16/w...


It looks bleak, but 99.99% owned by 1000 people is deliberately misleading.


The thing is..owning capital isnt what it used to be with jewels piling up. Credit allows debt backed by that physical collateral to be used for someones tractor to be built. These people may be 'worth' a lot of money but their wealth is actually more diversified and illiquid than the average person's capital. I think its an important distinction because we can easily lose sight when we don't realize that one person's wealth isn't a zero sum loss for the rest of us. In a credit debt economy, we still lose but not binary..more like a percentage. Their money is out there doing work, helping other people. They can call it back eventually..but if someone is so rich they never actually recall their 'floating' assets, is it economically scientific to consider those assets equal to cash under a mattress? I feel like we need a new measure for almost perpetually floating assets so we dont consider ownership as relevant.


Just take a look at the massive rise in quality of life across the world. Your alarmist post is bunk. Life is getting better for everyone all the time.


Regional inequality in the US has gotten markedly worse in the last 40 years[0].

[0] https://washingtonmonthly.com/magazine/novdec-2015/bloom-and...


This is such an empty, meaningless statement that only serves to deflect from the systemic greed and exploitation in the global financial system.

A man whose standard of life was increasing at (for example) 0.01% suddenly finds it increasing at 1.0%?

Or a family of 7 in some famine-stricken, war-torn nightmare now has half a bag of rice instead of a third?

At the same time your share in the overall wealth, prosperity and power of your nation is decreasing and being consolidated in the hands of fewer and fewer people.

A gradually increasing quality of life is something that should be an absolute minimum expectation for society, short of the effects of natural disasters and war. This is not something you should be proud of or use as an excuse to avoid the discomfort of recognising the abuses and excesses of the obscenely wealthy.

Sure the GDP of any given nation might be rising, but that only tells you how wealthy it is, not who actually benefits from that wealth.

You have traded your right to the prosperity of your nation for a an absolute minimum baseline of what will keep people docile and subservient.

And this;

> Life is getting better for everyone all the time.

Is just offensively naive to the extreme.


Personally, I think you are wrong. If you are an average engineer, you should be very afraid. But if you are exceptional, you will see your comp shoot through the roof in the coming years.


Average developer here, and I am scared. I'm worried that programming is going to have a similar winner-take-everything compensation scheme not unlike music or art, where only the very best make any money at all.


Get a job building ML systems, not one where you are writing queries (though they may be complex) for a business person.


I firmly believe this. If you arent brilliant, you arent writing real software, you are copying what other people are already doing. Any monkey can do that.


"i still think in a lot of corporate environments, money is definitely being made on the side by the decision makers when it comes time to pick an outsourcing firm, or award a contract to a contracting company, you know, you jack me off and i will jack you off later kinda thing, gotta grease the wheels of the company politics once in a while or else you might get caught not working"

I know for a fact that this happens excessively at a very big, well know and well respected company. Huge levels of corruption and under the table payments for outsourcing/contract labor.


well there are so many companies out there, for sure this happens, someone sitting somewhere at a desk thinking... "i'm already making 200k but, i could definitely use a few more grand just to cover what i'm losing on taxes, damn taxes lol"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: