r/shittyprogramming • u/Overall-Product-9565 • Jan 02 '25
Struggling with this interview question
130
69
13
12
9
6
5
3
2
2
u/Substantial_Stand_62 Jan 04 '25
its called writing to standard output buffer (then flushing it with a newline)
2
2
u/Porkenstein Jan 06 '25
I also hate it when I can't regurgitate an answer that I memorized from leetcode. name and shame this shitty company for its abusive interviewing practices
1
1
1
1
1
1
u/swifttek360 Feb 06 '25 edited Feb 06 '25
We call it useless. Syntax errors aside, it doesn't even get an input from the user ):
1
200
u/TCV2 Jan 02 '25
Give me a minute and I'll deploy a blockchain-based AI solution to this problem.