Really jogging my noggin

really jogging my noggin

>my software is shit but _________
lol

what does it mean to "invert" a binary tree?

>betaworks

lol

going from
<
<
<

to
<
<
<

For each node, swap its left child and its right child

Invert the left and right leaf, it actually create a mirror image of a tree.

No surprise there, google asks a pratical man hypothetical academia questions

the guy created a successful program. why even work for google? must be an issue of pride for him. that's where his self prescribed "dick" comment comes into play

so
invert(tree):
if tree == null:
return
a = tree.left
tree.left = tree.right
tree.right = a
invert(tree.right)
invert(tree.left)

Google wants people who can write performant and maintainable software using the optimal structures and techniques crafted by the industry over the course of decades. Not people who can manage to hack together something that technically works but runs like shit.

>my crap is a shining example of true open source
>I make really good things even though I admit that I don't know the theory
Warning bells are ringing
Not sure why he believes he would have enjoyed doing backend stuff at google anyway

>what the fuck does comp-sci have to do with app development

Maybe I'm a dinosaur, but one of the things that kept me out of programming was my lack of math background. The highest I ever went was algebra 2. I understand typical millennial being able to piece together an 'app' over the weekend, via frame works and libraries and other such crutches, and being able to make a couple of dollars, but this doesn't make you a programmer. I mean middle-school kids can do this, and have done this to varying amounts of success, if articles on the internet are to be believed.

If I were to be running a huge company like google, I'd definitely would want to have the cream of the crop. This guy railing against google, for not hiring him cause he couldn't do some year one comp-sci exercise, only solidifies their decision on my book.

I have been working for 10+ years in software development and I never had to deal with binary trees even once. Yet, whenever I have to interview some kids I usually ask about trees ,linked lists, and some operations on them , not because I'm an asshole, but because it is a handy filter of sorts. If one knows what a binary tree is, which I expect from a compsci grad/enthusiast, inverting it is a fairly simple matter of applying logic. Inability to do so is sure sign of a brainlet. It is simply another form of fizzbuzz, you might never use it, but they just want to know if you can actually come up with a good solution,as expected from a student of computer science. This guy

>shining example of open source
>shitty code
sounds about right

Well, the guy’s not a brainlet, he’s just not formerly trained. He’d be better off in a start-up that craves raw talent over rigid adherence to the status quo.

>should google have hired me?
>yes, absolutely yes
Who is this guy who thinks Google should have hired him?

>Google wants people who can write performant and maintainable software using the optimal structures and techniques crafted by the industry over the course of decades. Not people who can manage to hack together something that technically works but runs like shit.

Yea, that's why Android and Chrome are known for their efficiency

I've bombed at interviews before, like quite a few actually, and the healthy approach is take whatever your deficiencies are and work on improving in that area.

Moaning and lambasting a company cause they didn't see how special you are is counter productive, and a great way to burn bridges -- A "Thank you for the opportunity to interview with you, and I look forward to sometime in the future to work together ...." email would've a lot classier than the rant he went on. But I guess he just felt entitled, and thought the interview process was just a formality.

This

"Caring" is product design, not software design. He's barking up the wrong tree. I don't know about google but most large companies don't even let their developers touch user interaction design. That usually comes from business and interaction engineers or w/e who are well versed in the latest memes of how people should use software. Also, it's people like him that are causing the flood of terribly designed software that just relies on powerful hardware to brute force everything while accomplishing near jackshit for the amount of power used. Maybe someone should let these soyboys know that their shit code is literally boosting global warming 100-fold

>homebrew doesn't do dependency management well, but does it in a way that cares about you
what does that even mean

>I can't invert a binary tree but I brag about a program that can't even properly handle a graph that got popular because people are lazy and prefer to use an existing package manager, no matter how shitty it is, rather than make a good one

Google gmail,YouTube,search,play store had billions users per day, google cloud,apps had dozens millones user per day.

>Yea, that's why Android and Chrome are known for their efficiency
And you want it to get even worse?

Homebrew is worst package mananger few packs and you had constant error,misconfigurations and updates are shit hole.

>Google gmail,YouTube,search,play store had billions users per day, google cloud,apps had dozens millones user per day.

none of those are known because of their efficiency, they are just the most popular services

point still stands

Sure is easy build billon user systems, just import some web frame work and put in docker contains.

He can probably invert a binary tree, he just couldn't do it from memory on a white board, in front of people.

There's a lot of things in programming that you just aren't going to be able to do from memory unless you're fresh out of school.

What an arrogant prick.

>Sure is easy build billon user systems, just import some web frame work and put in docker contains.

that's what they've done, actually

>the ABSOLUTE state of mactoddlers

>write a bad package manager
>I DESERVE STUFF NOW

>the lignux/bsd world has hundreds of package managers all written by random people and that work a hell of a lot better yet they don't ask for anything

why are mactoddlers so entitled?

don't make too much fun of the brainlet, it's new years and there will be plenty to come in the following weeks.

yes, the web framework that they literally built from nothing, that now everyone else is piggybacking off of.

I don't understand what you're trying to prove?

In the OP, he says he didn't know what a binary tree was.
I would assume he have looked it up since as it is the most simple graph structure you can have (where a linked list doesn't count as a graph)

>my software is shit but ___
but it was incredibly successful and set a new standard for true open source software.

>Homebrew is a shining example of true Open Source

if homebrew is so bad, why didn't someone make a better replacement for it?

and what is so bad about it anyway? everyone is posting these epic reaction images but no one has any real arguments why it's bad. for the limitations that macOS imposes, it's pretty fucking good.

The only reason why his crap was "incredibly successful" is because no one else can be assed to make a package manager for mac os

>My garbage software was popular so hire me

>and what is so bad about it anyway?
It comes with built in botnet.

idk I don't use osx lol.

it's just an incredibly arrogant thing to say.

>the only reason it was successful is because he was the only one able to do it
Are you trying to argue, or..?

>macshitOS
Literally nobody cares about that trash. 99.999% of people who use macs and have real work to do use them as nothing but SSH dumb terminals into a real OS.