BASIC CALCULATOR II | LEETCODE 227 | PYTHON SOLUTION

Опубликовано: 13 July 2026
на канале: Cracking FAANG
47,226
630

In this video we are solving one of the problems in the Basic Calculator saga: Basic Calculator II. It's arguably the easiest of the Basic Calculator problems and currently a popular Facebook interview question.

It's actually not a hard problem and can be solved in a very efficient manner if you can keep track of the state of the calculation and handle the two edge cases correctly: multiplications and divisions. Stay tuned to find out how!