+ 9
Do you make pseudocodes before solving problems using algorithms?
Is there special benefits in writing pseudocodes?
5 ответов
+ 9
I find it good practice to make one.
It is more like taking notes of an attack mission in an unfamiliar land then use the notes to guide you.
Of course, these notes can be later edited or even changed completely in the real action on ground.
Similarly, sometimes one might have ignored or skipped a step in the pseudo code but find it necessary while writing code.
+ 15
not always.
if i need to communicate what i want to write, i make pseudocode.
+ 11
what is psudo code?
+ 7
I do, given the problem is difficult enough. Although my pseudo code usually has a high degree of abstraction and I deal with the nitty gritty details or choice of data structures later on.
It is useful to check your thinking that way. Also you get a good idea of the algorithms complexity (meaning runtime and memory usage) by seeing it sketched.
+ 7
Thanks @Rumesh Madhusanka for choosing my answer as the best! 👏👏👏
It came in timely that it raised my level & Rank at the same time.