[Assignment] Write a function that finds the level that has the maximum sum in a binary tree. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

[Assignment] Write a function that finds the level that has the maximum sum in a binary tree.

Hi!! I'm a beginner in Python, and I learn it in French (Well, the coding is in English, but I study it in French.. The assignment is: «Donner une fonction pour trouver le niveau qui la somme maximale dans un arbre binaire.». Hope I've translated it well.. ) Thanks!

3rd Dec 2022, 1:05 AM
KHADIJA AI
KHADIJA AI - avatar
1 Answer
+ 2
Hi! Please, show here your attempt.
3rd Dec 2022, 9:39 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar