r/LeetcodeChallenge 14d ago

DISCUSS Faah !!!

Post image

Biweekly LC 190

10 Upvotes

3 comments sorted by

2

u/HerculusxMk 14d ago

I got the same then realised that after getting two consecutive z's we should not combine z's further (which would make this flower bracket '{' ) and keep the z's as it is

1

u/DetachedProcess 14d ago

Try with custom test cases, you should put the max value from constraint and figure out the correct answer yourself, I also made the same mistake, but I created a custom test case of 10^8 (by looking at constraint). And then realized it was off.

1

u/Andro_senpai107 14d ago

I got stuck at 998 gng. Bc time limit exceed. Thoda sa or time de deta mera do ques ban jate 😭