原创 LeetCode 30 days challenge: Counting Elements

題目名稱 Counting Elements 題目描述: Given an integer array arr, count element x such that x + 1 is also in arr. If there’r