Category: Algorithm Problems

Cyber Security Engineer

Sum of Left Leaves Algorithm Solution Version 2 in C++

sum of left leaves is a popular coding question for an interview. It’s a Facebook Coding Interview Question and also asked by other top tech companies. It’s a must algorithm problem to know for software engineer.

Sum of Left Leaves Algorithm Solution

This is a LeetCode numbered as a 404 Algorithm problem. I am providing an explanation and implementation in C++ for you. (Free of Charge) In order to solve an algorithm problem, first, have an algorithm to solve an algorithm problem.  Step 1: Understand the problem Step 2: Come up with brute force/naive solution Step 3:…
Read more