I doubt very much that I could come up with a function to balance a tree out of the blue with no prep or review
Really? You just walk the tree, and return false if any leaf is deeper than the others.
"Deeper"? There are multiple definitions of balanced. The usual meaning of balanced is if the difference in the number of nodes is no more than 1. Depth difference is usually AVL balanced (named after G.M. Adelson-Velsky and E.M. Landis). So, there are an arbitrary set of "balancing" rules. He could have, in theory just returned true. Or false....
If they convicted everyone there who was a thief, who would be left?
It's only illegal if you get caught.
I got my first mobile phone in 1999. It was because the job required it. The very first day I had the phone, my car broke down and I the phone was a rather very convenient device.
I was a phone luddite. I didn't want to be strung to the rest of the world by the hip. Dude, you can turn the phone off any time. I don't have to use it.
Now, 11 years on. I have a Galaxy Nexus, I run My Tracks almost every day, I browse web sites, take photos and videos, do navigation and occasionally make a phone call.
I get to do what I want to do better. Sweet!
I've noticed lately that google isn't nearly as sharp at finding the results I want. If I search for terms 'x', 'y', and 'z', google will sometimes give me a page with terms 'x' and 'y' but not 'z'. 'z' is on pages that link to the results, but google doesn't tell me this. If there are no pages with 'x', 'y', and 'z' on them then so be it, but don't give me pages that I don't want.
rant over.
You can "fix" this. You can type +x +y +z and it will only give results that contain all of x, y and z. There are a few other "operators" you can use.
If you truly care about your son, you will take the time to get informed as the CJS can screw with an AS sufferer in ways that will make you sick.
... But I think I'm a bit wiser today, having maybe learned that the bleeding edge is sometimes literal.
I'm not exactly sure what you think you maybe learned but both shuttle disasters were caused by management overriding engineers and making engineering decisions.
It's not uncommon that managers in stressful situations somehow loose faith in engineers and make their own engineering decisions. All too often this happens, perhaps the consequences are often not dire but it regularly causes major issues. There is an endless list of them. Google for "challenger bhopal engineering management" and you will find endless discussions on them. Needless to say the report on the Challenger disaster points its finger directly at the management - alas it did little to remedy the situation having another shuttle disaster happen only a few years later again with management not listening to engineers and overriding their recommendations.
"Ninety percent of baseball is half mental." -- Yogi Berra