a = [1, 2, 1, "a", "b"]b = [1, "a", 3, 4]p c = a & b
Standard input is empty
[1, "a"]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!