SLIDE 1
CPSC 490: Problem Solving in Computer Science
Lecture 14: Subtree queries and updates, line sweep
Henry Xia, Brandon Zhang
based on CPSC 490 slides from 2014-2018
2019-03-07
University of British Columbia
CPSC 490: Problem Solving in Computer Science which is greater than - - PowerPoint PPT Presentation
Lecture 14: Subtree queries and updates, line sweep Henry Xia, Brandon Zhang based on CPSC 490 slides from 2014-2018 2019-03-07 University of British Columbia CPSC 490: Problem Solving in Computer Science which is greater than or equal to x
based on CPSC 490 slides from 2014-2018
University of British Columbia
1
2 n per query.
2
2 n per query.
2
2 n per query.
2
2 n per query.
2
2
2
3
3
4
5
6
7
8
9
10
11
12
12
12
12
13
Source: North American Invitational Programming Contest 2019
14
15
16
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
18
19
20