2018.03.19


#Find the missing letter


Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in the array.


You will always get an valid array. And it will be always exactly one letter be missing. The length of the array will always be at least 2.

The array will always contain letters in only one case.


Example:


['a','b','c','d','f'] -> 'e'

['O','Q','R','S'] -> 'P'


(Use the English alphabet with 26 letters!)


Have fun coding it and please don't forget to vote and rank this kata! :-)


I have also created other katas. Take a look if you enjoyed this kata!



매일 코딩을 하기위해서 이것 저것 해보다가 업무나 일상에서 떠오르는 문제는 한계가 있고

오일러를 몇개 풀어봤는데 코딩보다는 수학을 잘해야되는구나 싶어서..... 고민중에 추천 받은


Codewas


비슷한 사이트인 hackerrank도 알고 있었지만 입,출력을 직접 코딩하지 않아도 되는점이 참 맘에들어서 결정


목표 :  5문제/주 - 평일에 1문제씩 풀고 어려워서 못푼문제는 주말에 푼다.




온라인으로 본 채용 테스트 문제

문제 난이도 자체는 그렇게 어렵진 않았지만 문제가 영어여서 당황


팬그램이란? (그리스어: παν γράμμα 판 그람마[*], '모든 글자'라는 뜻)은 알파벳의 모든 글자들을 사용해서 만든 문장을 뜻하며,

'The quick brown fox jumps over the lazy dog' 와 같은 문장이 팬그램입니다.


목표 : 입력받은 문장이 팬그램인지 판별

소요 시간 : 10분



+ Recent posts