From 913625100662fb737f1df112a1efc26c8810bea6 Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Sun, 1 Jan 2023 20:08:07 -0500 Subject: [PATCH] Create README - LeetHub --- 1920-build-array-from-permutation/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1920-build-array-from-permutation/README.md b/1920-build-array-from-permutation/README.md index 50d20dc..5e7e952 100644 --- a/1920-build-array-from-permutation/README.md +++ b/1920-build-array-from-permutation/README.md @@ -3,7 +3,7 @@

A zero-based permutation nums is an array of distinct integers from 0 to nums.length - 1 (inclusive).

 

-

Example 1:

+

Example 1:

Input: nums = [0,2,1,5,3,4]
 Output: [0,1,2,4,5,3]
@@ -12,7 +12,7 @@ ans = [nums[nums[0]], nums[nums[1]], nums[nums[2]], nums[nums[3]], nums[nums[4]]
     = [nums[0], nums[2], nums[1], nums[5], nums[3], nums[4]]
     = [0,1,2,4,5,3]
-

Example 2:

+

Example 2:

Input: nums = [5,0,1,2,3,4]
 Output: [4,5,0,1,2,3]