Given two integers a and b, which can be positive or negative, find the sum of all the integers between including them too and return it. If the two n
Simple, given a string of words, return the length of the shortest word(s).String will never be empty and you do not need to account for different dat
In this little assignment you are given a string of space separated numbers, and have to return the highest and lowest number.All numbers are valid In
Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces.Rules for a smiling face:E
✅ 문제 배열 array의 i번째 숫자부터 j번째 숫자까지 자르고 정렬했을 때, k번째에 있는 수를 구하려 합니다. 예를 들어 array가 [1, 5, 2, 6, 3, 7, 4], i = 2, j = 5, k = 3이라면 array의 2번째부터 5번째까지 자르면 [
✅ 문제 수많은 마라톤 선수들이 마라톤에 참여하였습니다. 단 한 명의 선수를 제외하고는 모든 선수가 마라톤을 완주하였습니다. 마라톤에 참여한 선수들의 이름이 담긴 배열 participant와 완주한 선수들의 이름이 담긴 배열 completion이 주어질 때, 완주하지