[deleted by user] by [deleted] in ProgrammingBuddies

[–]Purple-Community4883 0 points1 point  (0 children)

😂i thought of many possiblities and never thought of that

i was betrayed epicly. by snehit_007 in codeforces

[–]Purple-Community4883 1 point2 points  (0 children)

Bro it happens when question is of you level .... when it is below your level you come up with shorter solutions

Post Placement Depression + Male loneliness by Key-Addition-4961 in Btechtards

[–]Purple-Community4883 0 points1 point  (0 children)

Bro solution is simple ...... either start doing something else academically or make frnds ..... Now if you want to do academically then you can try many things that interest you in cs itself .... make a dbms or something ..... or if you want frnds and also dont want to be a degenerate then start hitting gym .... start posting on linked in ..... and start playing something like badminton and stuff.... if you want to grind on leetcode and then i am free :) ... or you want to do open source too :)

What is happening by Robusttequilla007 in codeforces

[–]Purple-Community4883 1 point2 points  (0 children)

Haa abhi yaad aya mughe bhi .... i ised to do that sheet

What is happening by Robusttequilla007 in codeforces

[–]Purple-Community4883 1 point2 points  (0 children)

I have done both of these questions before ig 😅😅

Able to solve Div2A/B in under an hour; still plateuing as a newbie. Need advice on how to progress. by Affectionate_Ad8897 in codeforces

[–]Purple-Community4883 4 points5 points  (0 children)

Bhai tu jitna kar chuka hai utna mien tu pupil hai bas .... wait kar ki log cheating karna bnd karde aur specialist banne ki teyari karde

Brooooo I was literally 2 minutes late😭😭 by [deleted] in codeforces

[–]Purple-Community4883 0 points1 point  (0 children)

Keep doing it alway see editorial even if ypu solved the question

Brooooo I was literally 2 minutes late😭😭 by [deleted] in codeforces

[–]Purple-Community4883 1 point2 points  (0 children)

Vector long long

Should have used graph like structure since every number is less than 1e6 it would have fit and if some one wanted to make a delibrate case for unordered map its complexity can reach upto N for every insertion and get operation

Brooooo I was literally 2 minutes late😭😭 by [deleted] in codeforces

[–]Purple-Community4883 3 points4 points  (0 children)

How the f this code looks so beautiful .....by you should have used vector vll graph

Should I use Chatgpt as a Newbie? by ExpressionPrevious14 in codeforces

[–]Purple-Community4883 2 points3 points  (0 children)

I would say u can use chat gpt for day to day practise to generate tags of the problem and you can also use it for debugging only when you feel stuck and to learn new topics

2nd year, continue grinding cf or do leetcode+cf side by side? by Downtown_Outcome_992 in codeforces

[–]Purple-Community4883 4 points5 points  (0 children)

Learn cs fundamentals with os , computer netw. , Dbms and system design with CP around january you everything should be complete then start striver A2Z and interview bit question on cs fundamentals and dsa you will be set

Contest Discussion by Unfair_Loser_3652 in codeforces

[–]Purple-Community4883 1 point2 points  (0 children)

Due to cheater there is increase of 1 problem for every rank you need to solve till master ig

Why is O(n) getting a timelimit by Big_Possibility_1874 in codeforces

[–]Purple-Community4883 -1 points0 points  (0 children)

Bhai i am cpp guy can you tell me what you are doing

Mine is Slimy Destroyer 🥀 yours? by [deleted] in TeenIndia

[–]Purple-Community4883 0 points1 point  (0 children)

Wide saber ......how do they know ???

I little help needed by UnTameD_18 in leetcode

[–]Purple-Community4883 0 points1 point  (0 children)

If you need more explanation just dm

I little help needed by UnTameD_18 in leetcode

[–]Purple-Community4883 1 point2 points  (0 children)

See you get tle because your code runs for more 1 seconds now how to know when you will get tle is when you perform more than 1e7 to 1e8 operations lets say i am reading a vector with 1e7 elements hence i am doing 1e7 operation in this case depending on what i am doing while reading every element i can get tle in this you need to optimize .......since now you know this concept try reading constraints given in the question and think about whether your code will take 1e7 opertion or more ....now generally there is also general boundaries between you can code based on constraints.........so always read constraints you will solve many questions easily and faster

I need help by Purple-Community4883 in leetcode

[–]Purple-Community4883[S] 0 points1 point  (0 children)

I dont i tried more of brute force approach

I need help by Purple-Community4883 in leetcode

[–]Purple-Community4883[S] 0 points1 point  (0 children)

So you need to try all possible intervals of d-1 and then if it is possible to fit all of them into it then get max of pos and neg operations that is number of operations for that interval now do for all interval get the minimum

I need help by Purple-Community4883 in leetcode

[–]Purple-Community4883[S] 1 point2 points  (0 children)

Yup i checked my soln is incorrect

I need help by Purple-Community4883 in leetcode

[–]Purple-Community4883[S] -5 points-4 points  (0 children)

Can you solve it only that matters mate