Intuition Loop through input array and fill answer array in one pass. Approach In one forloop set the ans[i] and ans[i + nums.Length]to the current value at nums[i]. Code public class Solution { public int[] GetConcatenation(int[] nums) { ...
Christ follower, rollerblader, gamer, developer
I am a developer from Nashville, TN. I specialize in the .NET tech stack. I have created many projects in Blazor WASM, Xamarin, MAUI, etc.
Markdown supported · ⌘↵ to post
No responses yet.