1920. Build Array from Permutation | Java | Leetcode |

preview_player
Показать описание
Description: Given a zero-based permutation nums (0-indexed), build an array ans of the same length where ans[i] = nums[nums[i]] return it.

Рекомендации по теме
visit shbcf.ru