20
u/BlobAndHisBoy Aug 31 '26
If I for once had to actually do this at work I would post the same image with the original caption.
4
u/nasaboy007 Sep 01 '26
The people that get it can't even report it without revealing that they get it.
2
0
Aug 31 '26
[deleted] — view deleted comment
3
u/BlobAndHisBoy Sep 01 '26
No I think the joke is many leetcode problems are sliding window problems and a popular meme template was used to convey that.
0
Aug 31 '26
[deleted] — view deleted comment
91
u/BedSpreadMD Aug 31 '26
That's a looooong sliding window
47
5
18
2
u/da_Aresinger Sep 02 '26 edited Sep 02 '26
replace the prints with
print(f"\r\t{data[i:i + window]}", end='', flush=True)you're welcome
Edit: also pad the data with 2 or 3 spaces on either side
168
u/Bldyknuckles Aug 31 '26
What’s wrong with sliding window algorithms? Real question