Tricky Question In Java, awesome approach.
Code\n\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int size = nums.length;\n        int[] ans = new int[2*size];\n\n        for(
# Code\n```\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int size = nums.length;\n        int[] ans = new int[2*size];\n\n        for(int i = 0; i < 2*size; i++){\n            if(i < size)\n                ans[i] = nums[i];\n            else\n                ans[i] = nums[i-size];\n        }\n\n        return ans;\n    }\n}\n```\n//Please Upvote me..It would encourage me alot!!
['Java']