Write a method call repsEqual that takes an array and an integer and returns 1 if the array contains only the digits of the number in the same order that they appear in the number.

美国面试题11 1.题目: An array can hold the digits of a number.…
美国面试题11 1.题目: An array can hold the digits of a number.…