アルゴリズムの設計と解析

5
アアアアアアアアアアアア 黄黄 黄黄 TA 2012.4

Upload: ray-weaver

Post on 01-Jan-2016

39 views

Category:

Documents


1 download

DESCRIPTION

アルゴリズムの設計と解析. 黄 潤和、佐藤 温( TA ) 2012.4 ~. Contents (L5 – Red-Black trees ). Lecture notes given by MIT, MIT-RBT-lec10-ppt.pdf (note: Thanks for MIT’s excellent video lecture content). Home work. Watch MIT video lecture, http://videolectures.net/mit6046jf05_demaine_lec10/ - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: アルゴリズムの設計と解析

アルゴリズムの設計と解析

黄 潤和、佐藤 温( TA)2012.4~

Page 2: アルゴリズムの設計と解析

Contents (L5 – Red-Black trees)Lecture notes given by MIT,MIT-RBT-lec10-ppt.pdf

(note: Thanks for MIT’s excellent video lecture content)

2

Page 3: アルゴリズムの設計と解析

3

Page 4: アルゴリズムの設計と解析

Home work

4

Watch MIT video lecture, http://videolectures.net/mit6046jf05_demaine_lec10/

Read its text in English,MIT-RBT-lect10-ppt-En.pdf

Page 5: アルゴリズムの設計と解析

5

Exercise 5-1 Consider the following sequence of keys: (18, 30, 25, 12, 14).

Insert the items with this set of keys in the order given into the red-black tree below. Draw the tree after each insertion.

キー配列について考える : (18, 30, 25, 12, 14)。このキーのセットを図の赤黒木に挿入しなさい。それぞれの挿入後の赤黒木を描きなさい。