Skip to content

Commit e557b3b

Browse files
committed
Added 1929-concatenation-of-array.rb
1 parent 8ee1c93 commit e557b3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ruby/1929-concatenation-of-array.rb

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# @param {Integer[]} nums
2+
# @return {Integer[]}
3+
def get_concatenation(nums)
4+
nums = nums + nums
5+
return nums
6+
end

0 commit comments

Comments
 (0)