Hello. I am trying to solve a Leetcode problem. I am unable to “break the problem down into smaller problems” because I can’t even “translate” what the problem is asking.
“Given a zero-based permutationnums (0-indexed), build an array ans of the same length where ans[i] = nums[nums[i]] for each 0 <= i < nums.length and return it.”
What does " for each 0 <= i < nums.length" even mean? That wording really throws me off. It’s like my brain can’t process what it is asking lol. This is WAYYYYYYY different from Codewars, where they leave out all of the fluff and just tell you what the problem is lol.