Basic Algorithm Scripting Section

So I’m on the basic algorithm scripting section of javascript and as this section has no real instructions to the problem like previous challenges am I supposed to be able to figure this stuff out by now? I’m struggling with these and have basically been looking up the answers and hints and trying to understand how it works but haven’t been able to solve any but maybe one of them by myself so far. Is this normal that this section feels so difficult?