Posts tagged with problem solving

The Real Ask

frederickvanbrabant.com - submitted by Frederick Vanbrabant

When someone comes to you with a question to do something, instead of blindly doing the ask, take a step back and try to understand what they actually want to achieve. Often this task might actually not be the best way to achieve the goal they are set out to do.

Read more [frederickvanbrabant.com]

Invert, always, invert

www.anup.io

Instead of focusing of how to get a positive outcome, you might consider thinking about reasons why you'll get a negative outcome. This could possibly lead to new perspectives that you might had not considered otherwise.

Read more [www.anup.io]

Join 9,500+ smart developers

Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

What is a binary tree and why would I ever want to reverse it

frederickvanbrabant.com

Senior CEO Frederick Vanbrabant helps you to answer this horrible interview question.

You have probably already heard the horror stories of code interviews where they ask you to reverse a binary tree on a whiteboard. (if not check this blog post that I profoundly disagree with). Well, a few days ago I was in that exact situation. And I had no idea what the interviewer was talking about. So what are these binary trees and why is it so critical that you know how to inverse them? Let’s find out.

Read more [frederickvanbrabant.com]

No Time for a Taxicab

Gary Hockin posted a video with his attempt in solving the Day 1 challenge of http://adventofcode.com/. The video not only shows how he solved the problem codewise but also demonstrates some nice features of PHPStorm.

Mistakes and all, I attempt to code day 1 part 1 of the Advent of Code challenges you can find at http://adventofcode.com.

I deliberately didn't overly edit, or over complicate the video as I'm trying to get them done as fast as possible, if you like this I'll do some more!

I know some people will say "Waaa you should have done it like this!", or "Why didn't you use library $x", well I didn't so get over it. I'm also worried this gives away far too much about my coding quality and how lazy I am, but such is life.

Read more