(Original PDF) Algorithm Design and Applications by Michael T. Goodrich 2024 scribd download
(Original PDF) Algorithm Design and Applications by Michael T. Goodrich 2024 scribd download
https://ebookluna.com/product/ebook-pdf-algorithm-design-by-jon-
kleinberg/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-a-guide-to-algorithm-design-
paradigms-methods-and-complexity-analysis/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-steel-design-6th-edition-by-
william-t-segui/
ebookluna.com
https://ebookluna.com/download/endocrine-secrets-ebook-pdf-2/
ebookluna.com
Endocrine Secrets 7th Edition Michael T Mcdermott - eBook
PDF
https://ebookluna.com/download/endocrine-secrets-ebook-pdf/
ebookluna.com
https://ebookluna.com/download/hands-on-ethical-hacking-and-network-
defense-ebook-pdf/
ebookluna.com
https://ebookluna.com/download/diabetes-secrets-ebook-pdf/
ebookluna.com
ebookluna.com
https://ebookluna.com/download/web-design-introductory-ebook-pdf/
ebookluna.com
vi Contents
11 Divide-and-Conquer 303
11.1 Recurrences and the Master Theorem . . . . . . . . . . . . . 305
11.2 Integer Multiplication . . . . . . . . . . . . . . . . . . . . . . . 313
11.3 Matrix Multiplication . . . . . . . . . . . . . . . . . . . . . . . 315
11.4 The Maxima-Set Problem . . . . . . . . . . . . . . . . . . . . 317
11.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Contents vii
17 NP-Completeness 473
17.1 P and NP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
17.2 NP-Completeness . . . . . . . . . . . . . . . . . . . . . . . . 483
17.3 CNF-SAT and 3SAT . . . . . . . . . . . . . . . . . . . . . . . . 489
17.4 VERTEX-COVER, CLIQUE, and SET-COVER . . . . . . . . . . . . 492
17.5 SUBSET-SUM and KNAPSACK . . . . . . . . . . . . . . . . . . . 496
17.6 HAMILTONIAN-CYCLE and TSP . . . . . . . . . . . . . . . . . . 499
17.7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502
24 Cryptography 685
24.1 Greatest Common Divisors (GCD) . . . . . . . . . . . . . . . 687
24.2 Modular Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . 691
24.3 Cryptographic Operations . . . . . . . . . . . . . . . . . . . . 699
24.4 The RSA Cryptosystem . . . . . . . . . . . . . . . . . . . . . 703
24.5 The El Gamal Cryptosystem . . . . . . . . . . . . . . . . . . . 706
24.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
Application-Motivated Approach
This is an exciting time for computer science. Computers have moved beyond their
early uses as computational engines to now be used as information processors,
with applications to every other discipline. Moreover, the expansion of the Inter-
net has brought about new paradigms and modalities for computer applications to
society and commerce. For instance, computers can be used to store and retrieve
large amounts of data, and they are used in many other application areas, such as
sports, video games, biology, medicine, social networking, engineering, and sci-
ence. Thus, we feel that algorithms should be taught to emphasize not only their
mathematical analysis but also their practical applications.
To fulfill this need, we have written each chapter to begin with a brief discus-
sion of an application that motivates the topic of that chapter. In some cases, this
application comes from a real-world use of the topic discussed in the chapter, and in
other cases it is a contrived application that highlights how the topic of the chapter
could be used in practice. Our intent in providing this motivation is to give readers
a conceptual context and practical justification to accompany their reading of each
chapter. In addition to this application-based motivation we include also detailed
pseudocode descriptions and complete mathematical analysis. Indeed, we feel that
mathematical rigor should not simply be for its own sake, but also for its pragmatic
implications.
xi
xii Preface
Example Courses
This book has several possible uses as a textbook. It can be used, for instance,
for a core Algorithms course, which is classically known as CS7. Alternatively,
it could be used for an upper-division/graduate data structures course, an upper-
division/graduate algorithms course, or a two-course sequence on these topics. To
highlight these alternatives, we give an example syllabus for each of these possible
courses below.
Example syllabus for a core Algorithms (CS7) course:
1. Algorithm Analysis
(Skip, skim, or review Chapters 2–4 on fundamental data structures)1
5. Priority Queues and Heaps
6. Hash Tables
7. Union-Find Structures
8. Merge-Sort and Quick-Sort
9. Fast Sorting and Selection (if time permits)
10. The Greedy Method
11. Divide-and-Conquer
12. Dynamic Programming
13. Graphs and Traversals
14. Shortest Paths
15. Minimum Spanning Trees
16. Network Flow and Matching (if time permits)
17. NP-Completeness
18. Approximation Algorithms
Optional choices from Chapters 19–26, as time permits
The optional choices from Chapters 19–26 that could be covered at the end of the
course include randomized algorithms, computational geometry, string algorithms,
cryptography, Fast Fourier Transform (FFT), and linear programming.
1
These topics, and possibly even the topics of Chapters 5 and 6, are typically covered to at least a
basic level in a Data Structures course that could be a prerequisite to this course.
Preface xiii
1. Algorithm Analysis
2. Basic Data Structures
3. Binary Search Trees
4. Balanced Binary Search Trees
5. Priority Queues and Heaps
6. Hash Tables
7. Union-Find Structures
8. Merge-Sort and Quick-Sort
13. Graphs and Traversals
14. Shortest Paths
15. Minimum Spanning Trees
20. B-Trees and External-Memory
21. Multi-Dimensional Searching
Prerequisites
We have written this book assuming that the reader comes to it with certain knowl-
edge. In particular, we assume that the reader has a basic understanding of elemen-
tary data structures, such as arrays and linked lists, and is at least vaguely familiar
with a high-level programming language, such as C, C++, Java, or Python. Thus,
all algorithms are described in a high-level “pseudocode,” which avoids some de-
tails, such as error condition testing, but is suitable for a knowledgeable reader to
convert algorithm descriptions into working code.
In terms of mathematical background, we assume the reader is familiar with
exponents, logarithms, summations, limits, and elementary probability. Even so,
we review many of these concepts in Chapter 1, and we give a summary of other
useful mathematical facts, including elementary probability, in Appendix A.
Visit https://ebookluna.com
now to explore a diverse
collection of ebooks available
in formats like PDF, EPUB, and
MOBI, compatible with all
devices. Don’t miss the chance
to enjoy exciting offers and
quickly download high-quality
materials in just a few simple
steps!
Preface xv
Acknowledgments
There are a number of individuals with whom we have collaborated on research
and educational projects about algorithms. Working with them helped us refine the
vision and content of this book. Specifically, we thank Jeff Achter, Vesselin Ar-
naudov, James Baker, Ryan Baker, Benjamin Boer, John Boreiko, Devin Borland,
Lubomir Bourdev, Ulrik Brandes, Stina Bridgeman, Bryan Cantrill, Yi-Jen Chiang,
xvi Preface
Robert Cohen, David Ellis, David Emory, Jody Fanto, Ben Finkel, Peter Fröhlich,
Ashim Garg, David Ginat, Natasha Gelfand, Esha Ghosh, Michael Goldwasser,
Mark Handy, Michael Horn, Greg Howard, Benoı̂t Hudson, Jovanna Ignatowicz,
James Kelley, Evgenios Kornaropoulos, Giuseppe Liotta, David Mount, Jeremy
Mullendore, Olga Ohrimenko, Seth Padowitz, Bernardo Palazzi, Charalampos Pa-
pamanthou, James Piechota, Daniel Polivy, Seth Proctor, Susannah Raub, Haru
Sakai, John Schultz, Andrew Schwerin, Michael Shapiro, Michael Shim, Michael
Shin, Galina Shubina, Amy Simpson, Christian Straub, Ye Sun, Nikos Triandopou-
los, Luca Vismara, Danfeng Yao, Jason Ye, and Eric Zamore.
We are grateful to our editor, Beth Golub, for her enthusiastic support of this
project. The production team at Wiley has been great. Many thanks go to people
who helped us with the book development, including Jayne Ziemba, Jennifer Wel-
ter, Debbie Martin, Chris Ruel, Julie Kennedy, Wanqian Ye, Joyce Poh, and Ja-
nis Soo.
We are especially grateful to Michael Bannister, Jenny Lam, and Joseph Si-
mons for their contributions to the chapter on linear programming. We would like
to thank Siddhartha Sen and Robert Tarjan for an illuminating discussion about
balanced search trees.
We are truly indebted to the outside reviewers, and especially to Jack Snoeyink,
for detailed comments and constructive criticism, which were extremely useful.
These other outside reviewers included John Donald, Hui Yang, Nicholas Tran,
John Black, My Thai, Dana Randall, Ming-Yang Kao, Qiang Cheng, Ravi Janar-
den, Fikret Ercal, Jack Snoeyink, S. Muthukrishnan, Elliot Anshelevich, Mukkai
Krishnamoorthy, Roxanne Canosa, Michael Cutler, Roger Crawfis, Glencora Bor-
radaile, and Jennifer Welch.
This manuscript was prepared primarily with LATEX for the text and Microsoft
PowerPoint R , Visio R , and Adobe FrameMaker R for the figures.
Finally, we warmly thank Isabel Cruz, Karen Goodrich, Giuseppe Di Battista,
Franco Preparata, Ioannis Tollis, and our parents for providing advice, encourage-
ment, and support at various stages of the preparation of this book. We also thank
them for reminding us that there are things in life beyond writing books.
Michael T. Goodrich
Roberto Tamassia
Chapter
1 Algorithm Analysis
Contents
Scientists often have to deal with differences in scale, from the microscopi-
cally small to the astronomically large, and they have developed a wide range of
tools for dealing with the differences in scale in the objects they study. Similarly,
computer scientists must also deal with scale, but they deal with it primarily in
terms of data volume rather than physical object size. In the world of information
technology, scalability refers to the ability of a system to gracefully accommodate
growing sizes of inputs or amounts of workload. Being able to achieve scalability
for a computer system can mean the difference between a technological solution
that can succeed in the marketplace or scientific application and one that becomes
effectively unusable as data volumes increase. In this book, we are therefore inter-
ested in the design of scalable algorithms and data structures.
Simply put, an algorithm is a step-by-step procedure for performing some task
in a finite amount of time, and a data structure is a systematic way of organiz-
ing and accessing data. These concepts are central to computing, and this book is
dedicated to the discussion of paradigms and principles for the design and imple-
mentation of correct and efficient data structures and algorithms. But to be able to
determine the degree to which algorithms and data structures are scalable, we must
have precise ways of analyzing them.
The primary analysis tool we use in this book is to characterize the running
time of an algorithm or data structure operation, with space usage also being of
interest. Running time is a natural measure for the purposes of scalability, since
time is a precious resource. It is an important consideration in economic and sci-
entific applications, since everyone expects computer applications to run as fast as
possible.
We begin this chapter by describing the basic framework needed for analyzing
algorithms, which includes the language for describing algorithms, the computa-
tional model that language is intended for, and the main factors we count when
considering running time. We also include a brief discussion of how recursive
algorithms are analyzed. In Section 1.1.5, we present the main notation we use to
characterize running times—the so-called “big-Oh” notation. These tools comprise
the main theoretical tools for designing and analyzing algorithms.
In Section 1.2, we take a short break from our development of the framework
for algorithm analysis to review some important mathematical facts, including dis-
cussions of summations, logarithms, proof techniques, and basic probability. Given
this background and our notation for algorithm analysis, we present a case study on
algorithm analysis in Section 1.3, focusing on a problem often used as a test ques-
tion during job interviews. We follow this case study in Section 1.4 by presenting
an interesting analysis technique, known as amortization, which allows us to ac-
count for the group behavior of many individual operations. Finally, we conclude
the chapter with some exercises that include several problems inspired by questions
commonly asked during job interviews at major software and Internet companies.
1.1. Analyzing Algorithms 3
50
40
30
20
10
n
0 50 100
• Experiments can be done only on a limited set of test inputs, and care must
be taken to make sure these are representative.
• It is difficult to compare the efficiency of two algorithms unless experiments
on their running times have been performed in the same hardware and soft-
ware environments.
• It is necessary to implement and execute an algorithm in order to study its
running time experimentally.
This methodology aims at associating with each algorithm a function f (n) that
characterizes the running time of the algorithm in terms of the input size n. Typical
functions that will be encountered include n and n2 . For example, we will write
statements of the type “Algorithm A runs in time proportional to n,” meaning that
if we were to perform experiments, we would find that the actual running time of
algorithm A on any input of size n never exceeds cn, where c is a constant that
depends on the hardware and software environment used in the experiment. Given
two algorithms A and B, where A runs in time proportional to n and B runs in time
proportional to n2 , we will prefer A to B, since the function n grows at a smaller
rate than the function n2 .
We are now ready to “roll up our sleeves” and start developing our method-
ology for algorithm analysis. There are several components to this methodology,
including the following:
1.1.1 Pseudo-Code
Programmers are often asked to describe algorithms in a way that is intended for
human eyes only. Such descriptions are not computer programs, but are more struc-
tured than usual prose. They also facilitate the high-level analysis of a data structure
or algorithm. We call these descriptions pseudocode.
An Example of Pseudo-Code
The array-maximum problem is the simple problem of finding the maximum el-
ement in an array A storing n integers. To solve this problem, we can use an
algorithm called arrayMax, which scans through the elements of A using a for
loop.
The pseudocode description of algorithm arrayMax is shown in Algorithm 1.2.
Note that the pseudocode is more compact than an equivalent actual software
code fragment would be. In addition, the pseudocode is easier to read and under-
stand.
What Is Pseudo-Code?
Pseudo-code is a mixture of natural language and high-level programming con-
structs that describe the main ideas behind a generic implementation of a data
structure or algorithm. There really is no precise definition of the pseudocode
language, however, because of its reliance on natural language. At the same time,
to help achieve clarity, pseudocode mixes natural language with standard program-
ming language constructs. The programming language constructs we choose are
those consistent with modern high-level languages such as Python, C++, and Java.
These constructs include the following:
When we write pseudocode, we must keep in mind that we are writing for a
human reader, not a computer. Thus, we should strive to communicate high-level
ideas, not low-level implementation details. At the same time, we should not gloss
over important steps. Like many forms of human communication, finding the right
balance is an important skill that is refined through practice.
Now that we have developed a high-level way of describing algorithms, let
us next discuss how we can analytically characterize algorithms written in pseu-
docode.
1.1. Analyzing Algorithms 7
Some of us are yet alive who recollect the little saccharine poems,
the plaintive little sonnets, the--well, yes, to speak the truth--the
washy three-volume novels which were composed in that sturdy old
building and dated thence. Sturdy outside, but lovely within. Such
furniture: white satin and gold, black satin and red trimming; such
pictures, and statues, and busts; such looking-glasses let into the
walls at every conceivable place; such hanging baskets and ormolu
clocks, and Dresden and Sèvres china; such Chinese fans, and
Indian screens, and Turkish yataghans and Malay creeses; such
books--at least, such bindings; such a satinwood desk, at which the
Countess penned her inspirations; such a solemn-sounding library
clock, which had belonged to Marie Antoinette; such lion-skins and
leopard-skins for rugs; such despatch-boxes with the Della Cruscan
coronet and cipher; such waste-paper baskets always littered with
proof-sheets! The garden! never was anything seen like that! It was
not much more than half an acre, but Smiff, the great landscape
gardener, made it look more like a square mile. Delightfully rustic
and English here, quaintly Dutch there, Italian terraced a little lower
down, small avenue, vista broken by the fountain; might be a
thousand miles away from London, so everyone said. Everyone said
so, because everyone came there. Who was everyone? Well, the
Grand-Duke of Schweinerei was someone, at all events. Ex-Grand-
Duke, I should have said, recollecting that some years before, the
people of Schweinerei, although by no means a strait-laced people,
grew so disgusted at the "goings-on" of their reigning potentate,
that they rose in revolt, and incontinently kicked him out. Then he
came to England, where he has remained ever since, dwelling in a
big house, and occupying his spare time with fighting newspapers
for libelling him in a very blackguard and un-English manner. His
highness is an elderly, short, fat man, with admirably-fitting wig and
whiskers of the Tyrian purple. He has dull bleary eyes, pendulous
cheeks, and a great fat double chin. He is covered all over with
diamonds: his studs are diamonds; he wears a butterfly diamond
brooch on the knot of his white cravat; his waistcoat-buttons are
diamonds; his sleeve-links are diamonds; and he resembles the old
woman of Banbury Cross in having (diamond) rings on his fingers,
and probably, for all the historian knows to the contrary, on his toes.
Who else came there? A tall, thin, dark man, with a long face like
a sheep's head, a full dull eye, a long nose, a very long upper lip,
arid a retreating chin. Prince Bernadotte of the Lipari Isles, also an
exile, but one who has since been recalled to his kingdom. Nobody
thought much of Prince Bernadotte in those days. He lived in cheap
chambers in London, and used to play billiards with coiffeurs and
agents de change and commis voyageurs from the hotels in
Leicester Square; and who went into a very little English society,
where he always sat silent and reserved, and where they thought
very little of him. He must have been marvellously misunderstood
then, or must have grown into quite a different kind of man when he
sat smoking his cigar with his feet on the fender in the Elysée, and
to all inquiries made but the one reply, "Qu'on exécute mes orders!"-
-those "ordres" being fulfilled in the massacre of the Boulevards.
Not for long did that black-and-white board blossom in that flinty
soil. Within three weeks of the sale a rumour ran through London
that an al-fresco place of entertainment on a magnificent scale was
about to be opened on what had been the Della-Cruscan property,
and that Wuff, the great Wuff, the most enterprising man of his day,
was at the back of it. Straightway the board was pulled down, and
an army of painters, and decorators, and plumbers, and builders,
and Irish gentlemen in flannel jackets, and Italian gentlemen in
slouch wideawakes and paint-stained gaberdines, took possession of
the place. Big rooms were converted into supper and dining-rooms,
and small rooms into cabinets particuliers; a row of supper-boxes on
the old Vauxhall pattern sprang up in the grounds, which, moreover,
were tastefully planted with gas-lamps, with plaster-of-Paris statues,
with two or three sham fountains, and with grottos made of slag and
shiny-faced bricks. Then, on an Easter Monday, the place was
opened with a ballet, with dancing on the circular platform, with
Signor Simioso's performing monkeys, and with a grand display of
fireworks. Very good, all this; but somehow it didn't draw. The great
Wuff did all he could; sent an enormous power of legs into the
ballet; engaged the most excruciatingly funny comic singers, put
silver rosettes into the button-holes and silver-gilt wands into the
hands of all the masters of the ceremonies on the circular platform;
and had Guffino il Diavolo flying from the top of the pasteboard
Leaning Tower of Pisa into the canvas Lake of Geneva, down a wire,
with a squib in his cap, and one in each of his heels--and yet the
public would not come. The great Wuff tried it for two seasons, and
then gave it up in despair.
Up went the black-and-white board again; to be taken down at the
bidding of Mrs. Trimmer, who, having a very good boarding-school
for young ladies at Highgate, thought she might increase her
connection by establishing herself in a more eligible neighbourhood.
The board had been up so long, that the proprietor of the house was
willing, not merely to take a reduced rent, but to pull up the gas-
lamps, and pull down the supper-boxes, and restore the garden, not
indeed to its original state of beauty, but to decency and order. The
rooms were repapered (it must be owned that Wuff's taste in
decoration had been loud), and the name of the house changed
from Marston Moor to Cornelia. Then Mrs. Trimmer took possession,
and brought her young friends with her, and they throve and
multiplied exceedingly; and all went well until Mrs. Trimmer died,
and there was no one to carry on the business; and the board went
up, and remained up longer than ever.
No one knew exactly when or how the house was taken again.
The proprietor, hoping to get another school-keeper for a tenant, the
house being too large for ordinary domestic purposes, had bought
Mrs. Trimmer's furniture--the iron bedsteads and school fittings--for
a song, and had placed an old woman in charge. One day this old
woman put her luggage, consisting of a blue bundle, and herself into
a cab, and went away. A few carpenters had arrived from town in
the morning, and had occupied themselves in fitting iron bars to the
interior of some of the windows. During the greater portion of that
night carriages were heard rolling up the lane in which the back
entrance to the house was situated, and the next day smoke was
seen issuing from the chimneys; a big brass plate with the name of
"Dr. Bulph" was screwed on to the iron gates of the carriage-drive,
and two or three strong-built men were noticed going in and out of
the premises. Gradually it became known that Dr. Bulph was a
physician celebrated for his treatment of the insane, a "mad-doctor,"
as the neighbours called him; and women and children used to
skurry past the old red garden-walls as though they thought the
inmates were climbing over to get at them. But the house was so
thoroughly well-conducted, so quietly and with such excellent
discipline, that people soon thought nothing of it, any more than of
any other of the big mansions in the neighbourhood; and when Dr.
Bulph retired, and Dr. Wainwright succeeded him, the door-plate had
actually been changed for some days before the neighbours noticed
it.
"Just the man I was thinking about, and come exactly in the nick
of time! Alma quies optata, veni! Not that you can be called alma
quies, you restless bird of the night! What's the matter? what are
you making signs about?" asked George.
"That idiot, Billy Dunlop, is with me," replied Paul, grinning; "he is
doing some of his pantomime nonsense outside;" and, indeed,
George Wainwright, peering out in the darkness, could make out a
stout figure approaching with cautious gestures, which, when it
emerged into the lamplight, proved to be Mr. Dunlop.
"Hallo, Billy! what are you at? Come in, man; light a pipe, and be
happy."
But Mr. Dunlop, true to his character of comic man, did not enter
the room quietly, but came in with a little rush, and then, his knees
knocking together in simulated abject terror, asked:
"None of whom?"
"Oh yes, it's all right. Have you never been here before?"
"Never, sir; and I don't think, provided I get safe away this time,
that I'm ever likely to come again."
"You're complimentary; but now you are here, sit down and have
a drink. Spirits there in that stand, soda-water here in the window-
seat, ice in that refrigerator by the door. Or stay, let me make you
the new Yankee drink that has just come up--a cobbler. There are
plenty of straws somewhere about."
"I should think so," said Billy, in a stage-whisper to Paul. "He gets
'em out of the patients' heads. Lunatics always stick straws in their
heads, vide the drama passim. I say, Wainwright, while you're
mixing the grog, may I run out and have a look at the night-watch?"
"The night-watch, you know;" and Mr. Dunlop sat down at the
piano, squared his elbows, contorted his face, and with much
ludicrous exaggeration burst forth:
"Hush-sh-sh-sh! 'tis the NIGHT-WATCH!! he gy-ards my lonely cell!
"Now don't you say that he doesn't, you know, because I've Mr. Henry Russell's authority
that he does. So produce your night-watch!"
"What! do you mean to say that I did not see her dancing in the
hall? that I am not cold, bitter cold? that his glimmering lamp no
more I see? and that no, no, by hav-vens, I am not ma-a-ad?" With
these words, uttered in the wildest tones, Mr. Dunlop cast himself at
full length on the sofa, whence arising immediately with a placid
countenance, he said: "Gentlemen, if you wish thus to uproot and
destroy the tenderest associations of childhood, I shall be happy,
when I have finished my drink, to wish you a good-evening, and
return home."
"I can't think what the deuce you came for," said Paul, with a
smile. "He looked in at the club where I was dining, hoping to meet
you, and where I heard you had been and gone, and asked me
whether I wasn't going to evening service. When I told him 'yes,' he
said he would come with me; and all the way along he has done
nothing but growl at the pace I was walking, and the length of the
way."
"Don't mind me, Mr. Wainwright," said Billy, politely; "pray let the
gentleman go on. I am not the Stannaries Stag, sir, and I never laid
claim to the title; consequently it's no degradation to me to avow
that I can't keep on heeling and toeing it at the rate of seven miles
an hour for long. As it happens, I have a friend in the
neighbourhood, a fisherman, who has managed to combine a snack-
bend with a Kirby hook in a manner which he assures me--pardon
me, dear sirs, those imbecile grins remind me that I am speaking to
men who don't know a stone-fly from a gentle; that I have been
throwing my--I needn't finish the sentence. I have finished the drink.
Mr. Wainwright, have the goodness to see me off the premises, and,
in the words of the distraught Ophelia--to whom, by-the-way, I
daresay your talented father would have been called in, had he
happened to live in Denmark at the time--'let out the maid who'--
goodnight!"
"What brought you down here to-night, young 'un? The last rats
must have deserted the sinking ship of Fashion and Season when
you clear out of it to come down to Diogenes in his tub. Not but that
I'm delighted to see you; all I want to know is why?"
"I was nervous and restless, George; a little tired of fools and
frippery, and--and myself. I wanted you to blow a little of the ozone
of common sense into me, you know!"
"I know why you could not play tennis, or come to the Oval, or
walk to Hendon with me yesterday afternoon."
"The deuce you did!" cried Paul, turning very red. "What then?"
"Ah!" said George, filling his pipe, "that's exactly the point--what
then?"
"What a provoking old beggar you are! Why do you echo me?
Why don't you go on?"
"It's for you to go on, my boy! What are your relations--or what
are they to be--with this handsome girl?"
"'Gad! she must be to strike fire out of an old flint like you,
George!" cried Paul. "What are my relations with her? Strictly proper,
I give you my word."
"How the man jumps at an idea! Well, no; I don't know at all that
I intend that."
"Not the--the other thing, Paul? No; you're, to say the least of it,
too much of a gentleman. You don't intend that."
"I don't intend anything, I tell you. Can't a man talk to a pretty girl
without 'intention'?"
"Well, then, if this is a good honest girl, and you don't intend to
marry her, you ought not to be meeting her, and walking with her,
and leading her to believe that she will attain to a position through
you which she never would otherwise; and if she isn't an honest girl
you ought never to have spoken to her."
"Because, though you don't know it, you're deceiving yourself and
deceiving her; because the whole thing is incongruous and won't fit,
however you may try to make it do so; because it's wrong, however
much you may slur it over. Look here, Paul; suppose, just for the
sake of argument, that you wanted to marry this girl--you're as weak
as water, and there's no accounting for what you might wish--you
know your people would oppose it in the very strongest way, and----
"
"Oh, if I chose it, my 'people,' as you call them, must have it, or
leave it alone, which would be quite immaterial to me."
"For a reason you can't understand, you old mole, burrowed down
here under your paintings, and your fugues, and your dreary old
German philosophers--because I love her; because I think of her
from morning till night, and from night till morning again; because
her bright face and her gay creamy skin come between me and
those beastly old minutes and memoranda that we have to write at
the shop; and when I'm lying awake in Hanover Street, or even
sitting surrounded by a lot of gabbling idiots in the smoking-room of
the club, I can see her gray eyes looking at me, and----"
"Oh Lord!" said George Wainwright, with a piteous smile; "I had
no idea I'd let myself in for this!"
"You have, my dear old George, and for a lot more at a future
time. Just now I came out to you because I was horribly restless,
and Billy fastened himself on to me at the club, and I could not
shake him off. But I want to talk to you about it seriously, George--
seriously, you understand!"
"Whenever you like, Paul; but I expect you'll only get one scrap of
advice out of me, repeated, as I fear, ad nauseam."
"Give her up! give her up! give her up! Cato's powers of iteration
in the delenda est Carthago business will prove weak as compared
to mine in this."
Alone once more, George Wainwright threw himself again into the
easy-chair and renewed his pipe; but he shook his head more than
ever, and when he did speak, it was only to mutter to himself:
"Worse than I thought! Don't see the way out of that. Must look into
this, and take care that Paul does not make a fool of himself."
CORRIDOR NO. 4.
"Poor dear Madame!" said Miss Marshall. "Ah, you don't see many
like her!"
"I never saw one," said George. "But she will be keeping awake on
the chance of my coming to say goodnight to her."
First down another and a longer stone passage, the doors leading
from either side of which were wide open, showing bathrooms,
kitchens, and other domestic penetralia; then up a flight of stairs to
a landing covered with cocoa-nut matting, and giving on to a long
corridor, on the stone-coloured wall of which was painted in large
black letters, "Corridor No. 4." Closed doors here--doors of
dormitories, where the inmates were shut in for the night: some
tossing on their dream-haunted pillows; some haply--God knows--
enjoying a mental rest as soft and sweet as the slumber which
enchained them, borne away to the bygone days, when they
thought and felt and knew, ere the brain was distraught, and the
memory snapped, and the mind either warped or void. All was
perfectly quiet as George passed along, stopping at length before a
door which was closed but not locked, and at which he tapped
lightly. Lightly, but with a sound which was quickly heard, for a soft
voice cried immediately "Entrez!" and he opened the door, and went
in.
It was a pretty little room, considerably too lofty for its breadth--a
long narrow slip of a place, which some people with pleasant
development of mortuary tendencies might have rendered
unpleasantly like a grave. But it was tricked out with a pretty wall-
paper, all rosebuds and green leaves; some good photographs of
foreign scenery were framed on the walls; a wooden Swiss peasant
with a clock-face let into the centre of his waistcoat, and its works
ticking and running and whirring away in the centre of his anatomy,
stood on the mantelpiece; the fireplace was filled up with bright-
gilded shavings; and the bed, instead of being the mere ordinary
iron stump bedstead to be found in other dormitories of the house,
was gay with white hangings, and blue bows tastefully disposed here
and there.
"You are late, George," she said, with the faintest foreign accent;
"but I had not given you up."
"No, maman, you know better than that; you know that whenever
I am at home I never think of going to bed without saying goodnight
to maman. But I am late, dear; I have had friends sitting with me,
and they have only just gone."
"Friends, eh? Ah, that must be odd to see friends. And you took
them for a promenade on the Lac, and you---- Ah, bah! quelle
enfantillage! your friends were men, of course. Some of those who
sing so sweetly sometimes? No! but still men? Ah, no one else has
ever come here."
"No, maman," said the young man, rising, and regarding her with
a look of genuine affection and pity. "No, maman, not yet."
"Ah, not yet--always not yet," she said, letting her elbow relax,
and falling back in the bed--"always not yet!" And she covered her
face with her hands, removing them after a few minutes to say: "But
she will come? she will come?"
George took up his lamp, and crept silently from the room, and
down the corridor, down the stairs, and towards the outer door. As
he passed Miss Marshall's room he looked in, and saw her, bright,
brisk, and cheerful, sitting at her needlework, an epitome of
neatness and propriety. George could not refrain from stopping in his
progress, and saying:
"You don't look much like a 'keeper,' Miss Marshall. I had a friend
with me to-night, who laughingly asked me to show him the night-
watch of such places as these, of whom he had read in songs and
novels. I think he would have been rather astonished if I had
brought him across the garden and introduced him to you."
"Oh, they're not much 'count, those kind of trash, I think, Mr.
George," said Miss Marshall, who was eminently practical. "I read
about 'em often enough when I was a nursery-governess, and
before I came into the profession. I daresay he expected to see a
man with big whiskers, with a sword and a brace of pistols in his
belt, and perhaps two big dogs following him up and down the
passages! At least, I know that used to be my idea. You found
Madame Vaughan all well and quiet and comfortable, Mr. George?
And left her so, no doubt?"
"Oh yes. She was just the same as usual, poor dear."
"Oh, poor dear, indeed! If they were all like her, one need not
grumble about one's life here. There never was such a sweet
creature. I'm sure if one-half of the sane women, the sensible
creatures who expect one to possess all the cardinal virtues and to
look after four of their brats for sixteen pounds a-year, were
anything like as nice, or as sensible, or as sane, for the matter of
that, as Madame Vaughan, the world would be a much nicer place to
live in. She expected you, I suppose, sir?"
"Oh yes, she expected me," he said; "so I should have been
horribly sorry if I had neglected to go to her. One must be selfish
indeed to deny anyone so much pleasure when it can be afforded by
merely stepping across the garden."
"The child? Oh, yes; asked if anyone had come, as usual; and
when I answered her, felt sure that her child would come speedily."
"That the child will come, or, indeed, so far as we know, that she
ever had a child, is, I imagine, the merest hallucination. At all
events, from the number of years she has been here, her child, if
she ever had one, must be a tolerably well-grown young lady, and
not likely to be recognisable by, or to recognise her, poor thing!"
"Yes, indeed, Mr. George; and it's odd that of all our ladies, with
the exception of poor Mrs. Stoneycroft, who, I imagine, is just kept
here out of the Doctor's kindness and charity, Madame is the only
one who never has any friends come to see her."
"She has outlived all her friends; that is to say, she has outlived
their recollection of her. Nothing so easily forgotten as the trace of
people we once knew, but who can no longer be of use to us, or
administer to our vanity, our pleasure, or our amusement. I was at a
cemetery the other day, and saw there an enormous and
magnificent tombstone which a man had ordered to be erected over
his wife; but before the order had been executed the man had
married again, declined to pay for his extravagance in mortuary
sculpture, and contented himself with a simple headstone. And the
gardener told me that it is very seldom that the floral graves are
kept up beyond the first twelve months. So it is not likely that in this,
which, to such poor creatures as Madame Vaughan, is not much
better than a living tomb, the occupants should be held in any long
remembrance."
"I'm sure it's very kind of the Doctor to take such care of these
poor creatures, Mr. George; more especially when he's not paid for
it."
"That is not the case with Madame Vaughan. I think--in fact, I'm
sure--she was one of the patients of my father's predecessor, and
was made over to him on the transfer of the business; but though
she has no friends to come and see her, the sum for her
maintenance here is regularly discharged by a firm of solicitors who
have money in trust for the purpose, and by whom it has been paid
from the first."
"And is there nothing known of her history, Mr. George; who were
her friends, or where she came from?"
"No, indeed!" said George, shaking his head. "And if she were,
what would become of her? She has been here for nearly twenty
years, and the outer world would be as strange and as impossible to
her as it was to the released prisoner of the Bastille, who prayed to
be taken back to his dungeon."
As he rose, shook hands, and taking up his lamp made his way
across the garden, the nurse looked after him with a pleased
expression, and said to herself:
"What a nice young man that is!--so pleasant and kind! Nice-
looking too, though a trifle old-fashioned and heavy; not like--ah,
well, never mind. But much too good to mope away his life in this
wretched old place, anyhow."
"Well, if that little talk, and those little compliments, have the
result of making Miss Marshall show any extra amount of kindness to
my poor maman, my time will not have been ill bestowed."
George Wainwright was tolerably correct in all he had said
regarding Madame Vaughan, though he had but an imperfect
knowledge of her history. At the time when her mental malady first
rendered it necessary that she should be placed under restraint, the
private lunatic asylums of England were in a very different condition
from what they are now. They were for the most part held by low-
born ignorant men, who derived their entire livelihood from the sums
of money paid for the maintenance of the unfortunate wretches
confided to their charge, and whose gains were consequently
greater in proportion to the manner in which they ignored or refused
the requirements of their inmates. A person calling himself a
physician, and perhaps in possession of some purchased degree,
hired at a small stipend and non-resident, looked in occasionally,
asked a few questions, and signed certificates destined to hoodwink
official eyes, which in those days never saw too clearly at the best of
times. But the staff of keepers, male and female, was always
numerous and efficient. Those were the merry days of the iron collar
and the broad leather bastinado, of the gag and the cold bath, of
the irons and the whipping-post. They did not care much about what
the Lunacy Commissioners did, or wrote, or exacted, in those days,
and each man did what he thought best for himself. The date of the
Commissioners' visits, which then were few and far between, were
accurately known long beforehand; the "medical attendant" was on
the spot; the patients, such as were visible, were tricked up into a
proper state of cleanliness and order; and the others were duly
hidden away until the authorities had departed. The licensing was a
farce, only to be exceeded in absurdity by the other regulations; and
villany, blackguardism, brutality, and chicanery reigned supreme.
For two years after Madame Vaughan was first received into the
asylum--God help us!--as it was called, the outer world was
mercifully a blank to her. She arrived in a settled state of stupor, in
which she remained, cowering in a corner of the room which she
shared with other afflicted creatures, but taking no heed of them, of
the antics which they played, of the yells and shrieks which they
uttered, of the fantastic illusions of which they were the victims, of
the punishment which their conduct brought upon them. Her face
covered by her hands, her poor body ever rocking to and fro, there
she remained for ever in the one spot until nightfall, when she crept
to the miserable couch allotted to her, and curling herself up as an
animal in its slumber, was unheard, almost unseen, until the next
day. The wretched food which they gave her, coarse in quality and
meagre in quantity, she ate in silence; in silence she bore the spoken
ribaldry, and the practical jokes which in the first few weeks after
her admission the guardians of the establishment, and indeed the
great proprietor himself, amused themselves by heaping upon her;
so that in a little time she was found incapable of administering to
their amusement, and was suffered to remain unmolested.
From the first instant of the child's entrance into the room,
Madame Vaughan had roused herself from her usual attitude. The
sound of the child's pattering feet seemed to act on her with
electrical influence. She raised her head from out her hands; she sat
up erect, bright, observant. The corner in which she sat was dark,
and no one was in the habit of taking any notice of her. So she sat,
watching the shrinking child. She heard the mocking laugh with
which the nurse sneered at the little one's terror, she heard the
harsh tones in which the mother chid the child, and saw the blow
which followed on the words. Then she made two springs forward,
and the next minute had the woman on the ground, and was
grappling at her throat. The attendants sprang upon her, released
the woman from her grasp, and led her shrieking to her cell.
"My child, my child! why did she strike my child?" were the words
which she screamed forth; almost the first which those in the asylum
had ever heard her utter; so, at least, the nurse told the proprietor,
who, with other assistants, male as well as female, was speedily on
the spot.
"Had she ever said anything about a child before?" asked the
proprietor.
"And it was because she saw this child struck that she burst out,
and she's hollerin' about the child now--is that it?"
"Jest so, sir," replied the nurse, looking at a mark of teeth on her
hand, and shaking her head viciously in the direction in which the
patient had been led away.
"That's it, Agar," said the proprietor; "I thought we should get at it
some day. Couldn't get anything out of the cove I first saw, and the
lawyers were as tight as wax. 'You'll get your money,' they says.
'We're responsible for that,' they says, 'and that ought to be enough
for you.' They wouldn't let on, any of 'em, what it was that had
upset her at first; but I knew it would come out sooner or later, and
it's come out now, though. She's gone off her head grievin' after a
kid, and no two ways about it."
"Ah!" said Mr. Agar, who was a man of few words; "shouldn't
wonder. Question is, what's to be done with her now? Mustn't be
allowed to kick up these wagaries, you know; we shall have the
neighbours complainin' again. Screamed and yelled and bit and
fisted away like a good un, she did. We ain't had such a rumpus
since the Tiger's time."
It was during Dr. Bulph's time that the poor lady had a severe
bodily illness, during which she was sedulously attended by Dr. Bulph
himself--a clever, hard man of the world, not unkind, but probably
prompted in his attention to his patient by the feeling that it would
be unwise to let a regularly-paid income of three hundred pounds a-
year slip through his fingers if a little trouble on his part could save
it. When she became convalescent, her mental condition seemed to
have altered. Instead of being dull and moping, she was bright and
restless, ever asking about her child, who, as it seemed to her poor
distraught fancy, had been with her just before her illness. Dr. Bulph
had had some idea, that when her bodily ailment left her, there was
a chance that her mind might have become at last clearer; but he
shook his head when he saw these new symptoms. Her child, her
child! what had been done with it? Why had they taken it away?
Why was it kept from her? That was the constant, incessant burden
of her cry, sometimes asked almost calmly, sometimes with piteous
wailings or fierce denunciations of their cruelty. Nothing satisfied her,
nothing appeased her. Madame Vaughan's case was evidently a very
bad one indeed: and when Dr. Bulph took Dr. Wainwright, who was
about purchasing his business, the round of his establishment, he
pointed Madame Vaughan out to him, and said: "That will be a noisy
one, I'm afraid, until the end."
"Would you mind taking a turn in the garden, George?" she asked.
"The morning looks very fine, and I've something to say to you that
I think should be said in the sunlight and among the flowers."
She threw a shawl over her head and shoulders with, as George
could not help remarking, all the innate grace and ease of a
Frenchwoman, took his arm, and descended the stairs into the
garden. It was indeed a lovely morning, just at that time when
Summer makes her last determined fight before gracefully
surrendering to Autumn. The turf was yet green and soft, though
somewhat faded here and there by the sun's long-continued power,
and the air was mild; but the paths were already flecked with leaves,
and ruddy tints were visible on the extreme outer foliage of the
trees. When they arrived in the grounds, they found several of the
patients already there; some chattering to each other, others walking
moodily apart. Many of them seemed to treat Madame Vaughan with
marked deference, and exhibited that deference in immediately
clearing out of the way, and leaving her and her companion
unmolested in their walk.
"I am not so sure of that, George. She was all dim and indistinct in
my dream. I think I shall be dead, George; but you will see her; I
shall have the comfort of knowing that, and--and of knowing that
you will love her, George."
"No, George; for her own. You will love her for her own sake, and
you will marry her, my son."
"You will marry her, George," said Madame, her face clouding over
at once. "And yet--and yet she is but an infant, poor child!"
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookluna.com