题解 | #整型数组合并#
整型数组合并
http://www.nowcoder.com/practice/c4f11ea2c886429faf91decfaf6a310b
const str1=readline()
const count2=parseInt(readline())
const str2=readline()
var list_1=str1.split(" ")
var list_2=str2.split(" ")
var arr=new Array()
list_1.forEach(item=>{
if(arr.indexOf(item)<0){
arr.push(item)
}
})
list_2.forEach(item=>{
if(arr.indexOf(item)<0){
arr.push(item)
}
})
arr.sort((a,b)=>(a-b))
console.log(arr.join(""))