Codility Max Gaps Test || Python Easy Solution - Full Tutorial - Longest Binary Sequence Explained!

preview_player
Показать описание
Using pictures of code, I break it down and explain line-by-line and what they mean. I also show two different examples of code: one long solution, and one short. This tutorial is based on the very first lesson in Codility, the Binary Gap problem. I'm using Python to solve.

_________________________________________

_________________________________________

"The good news (of Yahweh's Son, Yahshua) is the power of salvation to all who believe..."
--Rom. 1:16a

#maxgaps #codility #python
Рекомендации по теме
Комментарии
Автор

Thanks for the video. Solution #2 will always return '0' because within max(x.split('1')) all '1' are being removed.

marcelagoda
Автор

I recently came across your channel and I love your quick and simple explanations!
You deserve a million+ subscribers!

sindhuraraviprolu