Python

    [codesignal][python] 8. commonCharacterCount

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: Given two strings, find the number of common characters between them. 두 string이 주어지면 서로 같은 겹치는 요소의 개수를 반환하는 문제 Example: For s1 = "aabcc" and s2 = "adcaa", t..

    [codesignal][python] 7. AllLongestStrings

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: Given an array of strings, return another array containing all of its longest strings. Example: For inputArray = ["aba", "aa", "ad", "vcd", "aba"], the outp..

    [python][basic] 내장함수 Built-in function2

    built-in-function¶ len list map max, min oct open ord pow range round sorted str sum tuple type zip isinstance¶ isinstance(object, class) 입력: 첫번째 인수로 인스턴스, 두번째 인수로 클래스 이름 반환: 인스턴스가 그 클래스의 인스턴스인지를 판단하여 참이면 True, 거짓이면 False In [1]: class Person:pass #아무기능없는 person클래스 생성 a=Person() #인스턴스 생성 isinstance(a,Person) Out[1]: True In [2]: b=3 isinstance(b,Person) Out[2]: False len¶ len(s) 입력값의 길이(요소의 전채 개..

    [python][basic] 내장함수 Built-in function 1

    jupyter notebook에 정리한 내용 Built-in function 1¶ 파이썬에서는 자주 사용되는 함수를 내장 함수(Built-in Functions)라는 이름으로 기본적으로 제공 외부 모듈과는 달리 import가 필요하지 않기 때문에 아무런 설정 없이 바로 사용 가능한 함수들 In [3]: from IPython.core.display import display, HTML display(HTML("")) abs¶ 입력 : 숫자 반환값 : 절댓값 In [1]: print(abs(3)) print(abs(-3)) print(abs(-3.14)) 3 3 3.14 all¶ 입력 : 반환 가능한 (iterable) 자료형 x iterable 자료형 : list, tuple, string, dictio..

    [프로그래머스][python] 68644. 두 개 뽑아서 더하기

    programmers.co.kr/learn/courses/30/lessons/68644 코딩테스트 연습 - 두 개 뽑아서 더하기 정수 배열 numbers가 주어집니다. numbers에서 서로 다른 인덱스에 있는 두 개의 수를 뽑아 더해서 만들 수 있는 모든 수를 배열에 오름차순으로 담아 return 하도록 solution 함수를 완성해주세요. 제한 programmers.co.kr 월간코드 챌린지 시즌 1 Question: 정수 배열 numbers가 주어집니다. numbers에서 서로 다른 인덱스에 있는 두 개의 수를 뽑아 더해서 만들 수 있는 모든 수를 배열에 오름차순으로 담아 return 하도록 solution 함수를 완성해주세요. 제한사항 numbers의 길이는 2 이상 100 이하입니다. numbe..

    [REF] 코딩 테스트 공부 계획

    다양한 플렛폼의 기본 문제들 풀어보기 하루 5문제씩 꾸준하게! 코드시그널*** 코드업*** 해커랭크 코딜리티 리트코드*** (easy, medium) 프로그래머스 코드포스 백준 codeforces.com/ Codeforces codeforces.com codeup.kr/problemsetsol.php?psid=23 문제집 / 기초 100제 codeup.kr codeup.kr/ CodeUp ☆ 파이썬 다운로드 : 파이썬3 ☆ 무료 C언어 IDE : Code::blocks DEV C++ ☆ 추천 온라인 IDE : C++11 Python3 Java ☆ 채점 가능 언어 : C, C++, JAVA, Python 3.5 ★ C++로 제출시 void main()을 사용하면 컴 codeup.kr programmers...

    [codesignal][python] 6. matirxElementsSum

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: After becoming famous, the CodeBots decided to move into a new building together. Each of the rooms has a different cost, and some of them are free, but the..

    [codesignal][python] 5. almostIncreasingSequence

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one element fro..

    [codesignal][python] 4. Make Array Consecutive 2BACK

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size. Since he likes to mak..

    [codesignal][python] 3. shapeArea

    codesignal.com Coding Tests and Assessments for Technical Hiring | CodeSignal Learn how you can go beyond resumes in technical hiring with a state-of-the-art assessment platform and advanced coding tests codesignal.com level : easy Question: Below we will define an n-interesting polygon. Your task is to find the area of a polygon for a given n. A 1-interesting polygon is just a square with a sid..