Skip to Content
똑똑한 코드 작성을 위한 실전 알고리즘
book

똑똑한 코드 작성을 위한 실전 알고리즘

by 조지 하이네만, 윤대석
May 2022
Beginner to intermediate
296 pages
5h 54m
Korean
Hanbit Media, Inc.
Content preview from 똑똑한 코드 작성을 위한 실전 알고리즘
286
똑똑한 코드 작성을 위한 실전 알고리즘
8.1
파이썬 내장 데이터 타입
파이썬 구현은 오랫동안 사용되면서 고도로 조정되고 최적화되었다. 인상적이게도 파이썬 인
터프리터 설계자는 업데이트마다 성능이 약간이라도 향상되도록 끊임없이 새로운 방법을 찾는
다. 파이썬의
설계와 역사
FAQ
1
는 읽어볼 가치가 있다.
파이썬에는 네 가지 내장 컨테이너 타입으로
tuple
,
list
,
dict
,
set
이 있다.
tuple
데이터 타입
tuple
은 생성 후 요소의 값이나 튜플의 크기를 변경하지 못한다는 점을 제외하고
list
처럼 사
용 가능한 불변한 일련의 값이다. 함수에서 여러 값을 반환하는 데 튜플을 사용한다.
list
데이터 타입
내장
list
데이터 타입은 파이썬에서 지배적인 자료구조로 매우 다재다능하다. 이는 특히 파
이썬의 슬라이스 문법이 프로그래머가 별다른 노력을 들이지 않아도 처리를 위해
list
의 하위
범위를 선택하고 순회하도록 하기 때문이다.
list
는 다른 값에 대한 참조의 연속 배열을 사용
하는 가변 길이 배열로 구현되는 범용 구조체다.
dict
데이터 타입
내장
dict
데이터 타입은 키와 값을 매핑하는 심볼 테이블을 나타낸다.
3
장의 모든 개념이 계
속해서 적용된다. 파이썬 구현은 키 간의 충돌을 해결하기 위해 개방 주소법을 사용하며 저장
소 배열 크기
M
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

데이터 익명화를 위한 파이프라인

데이터 익명화를 위한 파이프라인

루크 아버클, 칼리드 엘 에맘
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9791162245644