I have a working piece of code without any documentation and explanation, but I don't understand how it works. Can I ask such questions or not?
From our close reason meta thread:
We also expect you to understand how your code works. If you are seeking an explanation of how your code works, then we will treat the question as if someone else wrote it.