---
# System prepended metadata

title: Question

---

# Question


```ruby=
a = ["apple", "tree", "leaves"] 
b = ["tree", "leaves", "apple"]


# How can I determine if every word in array A is also present in array B

(a & b).size
```