def solution(A)
print(A)
def solution(A):
print("hi")
Input: nums = [-2,1,-3,4,-1,2,1,-5,4]
Output: 6
Explanation: [4,-1,2,1] has the largest sum = 6.
delta = b*b - 4*a*c;
a1 = (-b + raiz(delta)) / (2 * a);
a2 = (-b - raiz(delta)) / (2 * a);
// Comment
/*
Comment
*/
/*
* Comment
*/
// 1
const givenArray = [1, 2, 3, 4, 1, 1, 2, 3, 4];
// 2
let itemsMap = {};
let maxValue = 0;
let maxCount = 0;
// 3
for (let item of givenArray) {
// 4
if (itemsMap[item] == null) {
itemsMap[item] = 1;
} else {
itemsMap[item]++;
}
//5
if (itemsMap[item] > maxCount) {
maxValue = item;
maxCount = itemsMap[item];
}
}
// 6
console.log(`Value : ${maxValue}, Count : ${maxCount}`);
$ curl -X POST "https://api.cloudconvert.com/v2/jobs"
-H "Authorization: Bearer API_KEY"
-H "Content-type: application/json"
-d '
{
[1,2,3,4,5]
}
'