Y'know, seeing this topic again, I remember how my programming professor sometimes told us to think of programming not unlike reading a book, how we should see any chunk of code or algorithm and be able to interpret it as something coherent. It's a skill that I'm definitely not a master of, but I often find it useful to take a few moments and understand line-by-line what's happening in an algorithm. We could call this concept creating "phrases" based on what the code does. Once that's fairly good and set in my mind, I then transition into a couple of lines of code at a time (remembering what each line was meant to do) and create what we could call a "sentence," so to speak. Something that would summarize pretty well what a couple of lines of code would accomplish. By the time I've made up many sentences for most of the algorithm, I'd then join them up and create a "paragraph," which would accurately describe what's going on in the algorithm.
Now, I know this is quite a conceptual thing to do, and something that could be time-consuming, but doing so more and more often can lead to "trusting yourself more" when writing up some chunk of code. For instance, in my early programming years, I can vividly remember how I would write up `console.log`s after every single thing I'd do to a variable, even if it was just adding two variables together, to ensure that everything was going on fine (this was long before I knew what debuggers and breakpoints were). By exposing myself to more and more pieces of code and programming problems, I slowly let off these...weird habits.

I eventually caught up on how computers behave and that I could rely on them doing what I tell them to do a bit more often, and wouldn't need to check on variables on literally every step of the algorithm.
Nowadays, it's become pretty second-nature to read, understand and document what I'm looking at, so it takes far less `console.log`s to pinpoint what's going on if there's some odd behavior with the code that I'm working with.
But, to tie this up with the whole pseudocode topic, I can assure you that I find it really useful, and have become more used to, to write up comments at least at the "sentence" level, and the algorithm's gist of what it does being the "paragraph"-level explanation. I'd often find myself writing up things as a bunch of steps:
`-- Initializing some internal variables`
...
`-- If we've been given a JSON object, let's destructure it and get its first-level Key-Value pairs`
...
---> `-- Let's begin by setting delimiters after each Key-Value pair...`
...
---> `-- Then, we check whether everything between START_INDEX and END_INDEX is a complete JSON object`
---> `-- by ensuring that the number of "{" matches the number of "}" in our Key-Value substring.`
---> `-- If they don't match, let's move the END_INDEX a bit farther to the left.`
...
---> `-- Now that we have a coherent substring that contains a Key-Value pair, let's add it to our output table.`
...
`-- Else, let's just return the string as-is`
...
That was just a couple of the steps recalled from the top of my head regarding one of my latest feats: taming MSSQL 2012 to turn a JSON-formatted string into a one-level table.

Oh, the joy...

Aside from these "paragraph"-level pseudocode, I'd rarely leave comments that would explain just one line. Mostly, it's because of the simplicity of the chunk of code itself. Or, sometimes I would write per-line comments if I'm using a tool that pretty much everyone else around is not too familiarized with, to help us all with reading through the code at a later time...except for that one time where I left them in to explain my coworkers how the coalescing function worked, although they were extremely familiar with the nil-coalescing operator...

Oh dear, there I go again boring you all with my long and uninteresting stories...

Anyways, how would you go around at understanding some algorithms, if I may ask?

I'm very eager to read up from other users on this.

PS: Please, ALWAYS leave some pseudocode around SQL scripts, especially if they do something more than select certain values from a table.