หาเอลีเมนต์ที่ปรากฏในทั้งสองอาร์เรย์ (Intersection) นับความถี่ตามที่น้อยกว่า (Multiset Intersection) ตัวอย่าง arr1 = [hello, world, how, are, you] arr2 = [hey, world, can, you, rotate] Intersection: [world, you] ตัวอย่างโค้ด { const res = []; const smaller = arr1.length = arr2.length ? arr1 :