전체 글

전체 글

    [python] 프로그래머스 > H-index

    https://school.programmers.co.kr/learn/courses/30/lessons/42747 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 나의 풀이 def solution(citations): citations.sort() for index, i in enumerate(citations): if len(citations) - index == i: return i 문제 이해 후 나의 풀이 def solution(citations): citations.sort() for index, i in enumerate(citations): if..

    [python] 프로그래머스 > 이진변환반복하기

    https://school.programmers.co.kr/learn/courses/30/lessons/70129 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 나의 풀이 def removeZero(val): removedZeroCnt = 0 for i in val: if i == '0': removedZeroCnt += 1 return removedZeroCnt, ''.join(val).replace('0', '') def transform(val): namosi = [] while val != 1: rest = val % 2 val = val // 2..

    [python] 프로그래머스 > 뒤에 있는 큰 수 찾기

    문제 https://school.programmers.co.kr/learn/courses/30/lessons/154539 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr [나의풀이 1번째] - 시간초과 실패 from collections import deque def solution(numbers): answer = [] dqList = deque(numbers) for i in list(dqList): dqList.popleft() isExist = False for j in list(dqList): if j > i: answer.append(j) isE..

    [CCNA] CCNA1 - Chapter5

    What happens to runt frames received by a Cisco Ethernet switch? In an attempt to conserve bandwidth and not forward useless frames, Ethernet devices drop frames that are considered to be runt (less than 64 bytes) or jumbo (greater than 1500 bytes) frames. Ethernet frame The minimum Ethernet frame is 64 bytes. The maximum Ethernet frame is 1518 bytes. A network technician must know the minimum a..

    [CCNA] CCNA1 - Chapter4

    reasons for physical layer protocols to use frame encoding techniques to distinguish data bits from control bits to identify where the frame starts and ends A network administrator notices that some newly installed Ethernet cabling is carrying corrupt and distorted data signals. The new cabling was installed in the ceiling close to fluorescent lights and electrical equipment. Which two factors m..

    [CCNA] CCNA1 - Chapter3

    flow control Flow control allows for this by ensuring that data is not sent too fast for it to be received properly. encapsulation Encapsulation is the process of placing one message format into another message format. An example is how a packet is placed in its entirety into the data field as it is encapsulated into a frame. network protocols Network protocols are implemented in hardware, or so..

    [CCAN] CCNA1 - Chapter2

    A network administrator needs to keep the user ID, password, and session contents private when establishing remote CLI connectivity with a switch to manage it. Which access method should be chosen? ssh Which command or key combination allows a user to return to the previous level in the command hierarchy? End and CTRL-Z : return the user to the privileged EXEC mode. Ctrl-C : ends a command in pr..

    [CCNA] CCNA1 - Chapter1

    Intermediary devices Intermediary devices direct path of the data Intermediary devices connect individual hosts to the network Intermediary devices interconnect end devices. Examples of intermediary network devices are: switches and wireless access points (network access) routers (internetworking) firewalls (security). Which two connection options provide an always-on, high-bandwidth Internet co..