🐍Python/Python_알고리즘

    [알고리즘] 03. A Very Big Sum

    Calculate and print the sum of the elements in an array, keeping in mind that some of those integers may be quite large.Function DescriptionComplete the aVeryBigSum function in the editor below. It must return the sum of all array elements.aVeryBigSum has the following parameter(s):ar: an array of integers .Input FormatThe first line of the input consists of an integer . The next line contains s..

    [알고리즘] 02. Compare the Triplets

    Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale from to for three categories: problem clarity, originality, and difficulty.We define the rating for Alice's challenge to be the triplet , and the rating for Bob's challenge to be the triplet .Your task is to find their comparison points by comparing with , with , and with .If , ..

    [알고리즘] 01. Simple Array Sum

    Given an array of integers, find the sum of its elements.For example, if the array , , so return .Function DescriptionComplete the simpleArraySum function in the editor below. It must return the sum of the array elements as an integer.simpleArraySum has the following parameter(s):ar: an array of integersInput FormatThe first line contains an integer, , denoting the size of the array. The second ..

    [알고리즘] 시작

    https://www.hackerrank.com/dashboard 해커랭크 사이트에 있는 알고리즘 문제를 풀고 알고리즘을 이해해 보도록 연습해 볼 것이다.