We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a8027 commit 35af9f9Copy full SHA for 35af9f9
example/ProgrammingSkills/0.Basic/1502.js
@@ -0,0 +1,19 @@
1
+/**
2
+ * 1502. Can Make Arithmetic Progression From Sequence
3
+ * https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence/
4
+ * Difficulty: Easy
5
+ *
6
+ * A sequence of numbers is called an arithmetic progression if the difference
7
+ * between any two consecutive elements is the same.
8
9
+ * Given an array of numbers arr, return true if the array can be rearranged to
10
+ * form an arithmetic progression. Otherwise, return false.
11
+ */
12
+
13
14
+ * @param {number[]} arr
15
+ * @return {boolean}
16
17
+var canMakeArithmeticProgression = function(arr) {
18
19
+}
0 commit comments