Python List Performance - The Ultimate Guide

preview_player
Показать описание


## Timeline

00:00 - Intro
00:48 - Concat with +
01:14 - Timing Concating Long Lists
07:42 - Timing itertools chain
10:24 - Nested Lists
14:40 - Earthly

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

Hello. This video was between my recommended ones... I am an University student (Data Science) and I have to make some task in Python.

Two players (White and Black) play the following game: At the beginning there is a string "s" with an even number of characters.
The players alternately (starting with White) take letters from it and form their own chains from them, which have
initially empty. The player who is on his turn can tear off the first or last letter from "s" and add it to
the beginning of its chain. The game ends when the chain runs out. The player who has lexicographically smaller chain at the end wins the game"

Can you help me with it? I can send u a code as well if u want. You can save my life by helping me

kristiannosko
join shbcf.ru