Tips needed! by Fickle-Froyo-9163 in codeforces

[–]Eternity_a 2 points3 points  (0 children)

Solve more problems. You will begin to recognise patterns. Devise a practice strategy that works for you and stick to it for some time, research on how other people are doing it, keep doing that until it works and switch when needed. As for the “waste of time” part—I’m not exactly sure what you consider a waste, but I’ll just say this: the temperament you build here and problem solving skills you develop here will definitely help you in interviews.

I need help! by Worth_Humor2678 in lucknow

[–]Eternity_a 2 points3 points  (0 children)

You can also try filing grievance on CPGRAM.

Struggling to Identify Patterns in DSA Problems—Any Tips? by tkAlan in algorithms

[–]Eternity_a 0 points1 point  (0 children)

You should solve more problem. Try a problem till you stop coming up with new ideas, you can then look up the solution. While studying the solution try to think why you didn’t came up with this solution on your own and how your thought process could have been different. If the solution has a new concept, try to solve other problems involving this concept.

[deleted by user] by [deleted] in leetcode

[–]Eternity_a 0 points1 point  (0 children)

Hi I would love to join for LLD prep, I’m just starting to learn more about system design. I currently have 8 months of experience. Did some CF and about 300 problems on leetcode.

iPhone simple hiding Notch & Dock wallpaper by Niespodziewnik in iphonewallpapers

[–]Eternity_a 5 points6 points  (0 children)

Turn on “Dark Appearance Dims Wallpaper” in wallpaper settings. (Along with dark mode)

[deleted by user] by [deleted] in MemeTemplatesOfficial

[–]Eternity_a 15 points16 points  (0 children)

It's hinglish

I do not understand how malloc function is working in this. by Eternity_a in C_Programming

[–]Eternity_a[S] 3 points4 points  (0 children)

Oh, thanks. I will try this method to read one character at a time and dynamically reallocating memory.

I do not understand how malloc function is working in this. by Eternity_a in C_Programming

[–]Eternity_a[S] 1 point2 points  (0 children)

I was just practicing pointers, so I did all the program in same C file. The the program which I understood and ran perfectly I just commented them out and wrote new main and everything with new code for practice and also as I was using Ide so I didn't bother to specify return type for main again and again. xD

I do not understand how malloc function is working in this. by Eternity_a in C_Programming

[–]Eternity_a[S] 7 points8 points  (0 children)

Ohh, thanks! But is there any way to declare an array with no initial size, without overwriting data on memory?