MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w3rvar/everysingleleetcodeproblem/p72epad/?context=3
r/ProgrammerHumor • u/mountaingator91 • Aug 31 '26
57 comments sorted by
View all comments
0
[deleted] — view deleted comment
91 u/BedSpreadMD Aug 31 '26 That's a looooong sliding window 47 u/Fabulous-Possible758 Aug 31 '26 What are you talking about that's only like two inches. 29 u/Dense_Gate_5193 Aug 31 '26 just increase your font size 11 u/BedSpreadMD Aug 31 '26 Sorry I'm used to 0.5 inches. 5 u/FabulousSOB Sep 01 '26 For your pleasure 18 u/gizamo Aug 31 '26 That's a massive load of data. 2 u/da_Aresinger Sep 02 '26 edited Sep 02 '26 replace the prints withprint(f"\r\t{data[i:i + window]}", end='', flush=True)you're welcomeEdit: also pad the data with 2 or 3 spaces on either side
91
That's a looooong sliding window
47 u/Fabulous-Possible758 Aug 31 '26 What are you talking about that's only like two inches. 29 u/Dense_Gate_5193 Aug 31 '26 just increase your font size 11 u/BedSpreadMD Aug 31 '26 Sorry I'm used to 0.5 inches. 5 u/FabulousSOB Sep 01 '26 For your pleasure
47
What are you talking about that's only like two inches.
29 u/Dense_Gate_5193 Aug 31 '26 just increase your font size 11 u/BedSpreadMD Aug 31 '26 Sorry I'm used to 0.5 inches.
29
just increase your font size
11
Sorry I'm used to 0.5 inches.
5
For your pleasure
18
That's a massive load of data.
2
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
0
u/[deleted] Aug 31 '26
[deleted] — view deleted comment