Algorithms and programming: problems and solutions
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
New York [u.a.]
Springer
2010
|
Ausgabe: | 2. ed. |
Schriftenreihe: | Springer undergraduate texts in mathematics and technology
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XII, 272 S. graph. Darst. 235 mm x 155 mm |
ISBN: | 9781441917478 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035836559 | ||
003 | DE-604 | ||
005 | 20101130 | ||
007 | t | ||
008 | 091120s2010 d||| |||| 00||| eng d | ||
015 | |a 09,N41,0591 |2 dnb | ||
016 | 7 | |a 996986421 |2 DE-101 | |
020 | |a 9781441917478 |c Gb. : EUR 53.45 |9 978-1-4419-1747-8 | ||
024 | 3 | |a 9781441917478 | |
028 | 5 | 2 | |a 12669493 |
035 | |a (OCoLC)458732973 | ||
035 | |a (DE-599)DNB996986421 | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-20 |a DE-473 |a DE-11 |a DE-703 |a DE-83 | ||
050 | 0 | |a QA76.9.A43 | |
082 | 0 | |a 005.1 |2 22 | |
084 | |a ST 134 |0 (DE-625)143590: |2 rvk | ||
084 | |a 65K05 |2 msc | ||
084 | |a 510 |2 sdnb | ||
100 | 1 | |a Šen, Aleksandr Ch. |d 1958- |e Verfasser |0 (DE-588)130558648 |4 aut | |
245 | 1 | 0 | |a Algorithms and programming |b problems and solutions |c Alexander Shen |
250 | |a 2. ed. | ||
264 | 1 | |a New York [u.a.] |b Springer |c 2010 | |
300 | |a XII, 272 S. |b graph. Darst. |c 235 mm x 155 mm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Springer undergraduate texts in mathematics and technology | |
650 | 4 | |a Computer algorithms | |
650 | 4 | |a Computer programming | |
650 | 0 | 7 | |a Algorithmus |0 (DE-588)4001183-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Programmierung |0 (DE-588)4076370-5 |2 gnd |9 rswk-swf |
655 | 7 | |0 (DE-588)4123623-3 |a Lehrbuch |2 gnd-content | |
689 | 0 | 0 | |a Algorithmus |0 (DE-588)4001183-5 |D s |
689 | 0 | 1 | |a Programmierung |0 (DE-588)4076370-5 |D s |
689 | 0 | |5 DE-604 | |
776 | 0 | 8 | |i Erscheint auch als |n Online-Ausgabe |z 978-1-4419-1748-5 |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018694973&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-018694973 |
Datensatz im Suchindex
_version_ | 1804140802180382720 |
---|---|
adam_text | Titel: Algorithms and programming
Autor: Šen, Aleksandr Ch
Jahr: 2010
Contents
Preface to the second edition....................................... xi
1 Variables, expressions, assignments............................. 1
1.1 Problems without arrays..................................... 1
1.2 Arrays.................................................... 15
1.3 Inductive functions......................................... 28
2 Generation of combinatorial objects ............................ 33
2.1 Sequences................................................. 33
2.2 Permutations.............................................. 34
2.3 Subsets................................................... 35
2.4 Partitions ................................................. 37
2.5 Gray codes and similar problems.............................. 39
2.6 Some remarks............................................. 44
2.7 Counting.................................................. 46
3 Tree traversal (backtracking).................................. 49
3.1 Queens not attacking each other: position tree................... 49
3.2 Tree traversal.............................................. 50
3.3 Queens: position tree implementation.......................... 56
3.4 Backtracking in other problems............................... 59
4 Sorting..................................................... 61
4.1 Quadratic algorithms........................................ 61
4.2 Sorting in n log n Operations................................. 62
4.3 Applications of sorting...................................... 69
4.4 Lower bound for the number of comparisons.................... 70
4.5 Problems related to sorting................................... 72
viii Contents
5 Finite-state algorithms in text processing......................... 77
5.1 Compound Symbols, comments, etc............................ 77
5.2 Numbers input............................................. 79
6 Data types.................................................. 83
6.1 Stacks.................................................... 83
6.2 Queues................................................... 89
6.3 Sets...................................................... 97
6.4 Priority queues............................................. 100
7 Recursion...................................................103
7.1 Examples................................................. 103
7.2 Trees: recursive processing .................................. 106
7.3 The generation of combinatorial objects; search................. 109
7.4 Other applications of recursion............................... 113
8 Recursive and non-recursive programs..........................119
8.1 Table of values (dynamic programming) ....................... 119
8.2 Stack of postponed tasks..................................... 123
8.3 Difficult cases ............................................. 126
9 Graph algorithms............................................129
9.1 Shortest paths.............................................. 129
9.2 Connected components, breadth- and depth-first search........... 133
10 Pattern matching.............................................139
10.1 Simple example............................................ 139
10.2 Repetitions in the pattern.................................... 142
10.3 Auxiliary lemmas.......................................... 143
10.4 Knuth-Morris-Pratt algorithm................................ 144
10.5 Boyer-Moore algorithm..................................... 146
10.6 Rabin-Karp algorithm ...................................... 148
10.7 Automata and more complicated patterns....................... 149
10.8 Suffix trees................................................ 156
11 Games analysis..............................................167
11.1 Game examples............................................ 167
11.2 Game cost................................................. 169
11.3 Computing the game cost by backtracking...................... 176
11.4 Alpha-beta pruning......................................... 178
11.5 A retrospective analysis..................................... 182
Contents ix
12 Optimal coding..............................................185
12.1 Codes.................................................... 185
12.2 The Kraft-McMillan inequality............................... 186
12.3 Huffman code ............................................. 189
12.4 Shannon-Fano code........................................ 191
13 Set representation. Hashing....................................195
13.1 Hashing with open addressing................................ 195
13.2 Hashing using lists ......................................... 198
14 Sets, trees, and balanced trees..................................203
14.1 Set representation using trees................................. 203
14.2 Balanced trees............................................. 210
15 Context-free grammars.......................................221
15.1 General parsing algorithm................................... 221
15.2 Recursive-descent parsing ................................... 226
15.3 Parsing algorithm for LL(l)-grammars......................... 236
16 Left-to-right parsing (LR).....................................243
16.1 LR-processes.............................................. 243
16.2 LR(0)-grammars........................................... 248
16.3 SLR(l)-grammars.......................................... 252
16.4 LR(l)-grammars, LALR(l)-grammars......................... 253
16.5 General remarks about parsing algorithms...................... 256
Further reading..................................................257
Appendix: C and Pascal examples ..................................259
Index...........................................................267
|
any_adam_object | 1 |
author | Šen, Aleksandr Ch. 1958- |
author_GND | (DE-588)130558648 |
author_facet | Šen, Aleksandr Ch. 1958- |
author_role | aut |
author_sort | Šen, Aleksandr Ch. 1958- |
author_variant | a c š ac acš |
building | Verbundindex |
bvnumber | BV035836559 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.9.A43 |
callnumber-search | QA76.9.A43 |
callnumber-sort | QA 276.9 A43 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 134 |
ctrlnum | (OCoLC)458732973 (DE-599)DNB996986421 |
dewey-full | 005.1 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.1 |
dewey-search | 005.1 |
dewey-sort | 15.1 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik Mathematik |
edition | 2. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01891nam a2200505 c 4500</leader><controlfield tag="001">BV035836559</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20101130 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">091120s2010 d||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">09,N41,0591</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">996986421</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781441917478</subfield><subfield code="c">Gb. : EUR 53.45</subfield><subfield code="9">978-1-4419-1747-8</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9781441917478</subfield></datafield><datafield tag="028" ind1="5" ind2="2"><subfield code="a">12669493</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)458732973</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB996986421</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-20</subfield><subfield code="a">DE-473</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-703</subfield><subfield code="a">DE-83</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.9.A43</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.1</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 134</subfield><subfield code="0">(DE-625)143590:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">65K05</subfield><subfield code="2">msc</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">510</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Šen, Aleksandr Ch.</subfield><subfield code="d">1958-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)130558648</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Algorithms and programming</subfield><subfield code="b">problems and solutions</subfield><subfield code="c">Alexander Shen</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">2. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">New York [u.a.]</subfield><subfield code="b">Springer</subfield><subfield code="c">2010</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XII, 272 S.</subfield><subfield code="b">graph. Darst.</subfield><subfield code="c">235 mm x 155 mm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Springer undergraduate texts in mathematics and technology</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Computer algorithms</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Computer programming</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Algorithmus</subfield><subfield code="0">(DE-588)4001183-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="0">(DE-588)4123623-3</subfield><subfield code="a">Lehrbuch</subfield><subfield code="2">gnd-content</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Algorithmus</subfield><subfield code="0">(DE-588)4001183-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Online-Ausgabe</subfield><subfield code="z">978-1-4419-1748-5</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018694973&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-018694973</subfield></datafield></record></collection> |
genre | (DE-588)4123623-3 Lehrbuch gnd-content |
genre_facet | Lehrbuch |
id | DE-604.BV035836559 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:05:46Z |
institution | BVB |
isbn | 9781441917478 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-018694973 |
oclc_num | 458732973 |
open_access_boolean | |
owner | DE-20 DE-473 DE-BY-UBG DE-11 DE-703 DE-83 |
owner_facet | DE-20 DE-473 DE-BY-UBG DE-11 DE-703 DE-83 |
physical | XII, 272 S. graph. Darst. 235 mm x 155 mm |
publishDate | 2010 |
publishDateSearch | 2010 |
publishDateSort | 2010 |
publisher | Springer |
record_format | marc |
series2 | Springer undergraduate texts in mathematics and technology |
spelling | Šen, Aleksandr Ch. 1958- Verfasser (DE-588)130558648 aut Algorithms and programming problems and solutions Alexander Shen 2. ed. New York [u.a.] Springer 2010 XII, 272 S. graph. Darst. 235 mm x 155 mm txt rdacontent n rdamedia nc rdacarrier Springer undergraduate texts in mathematics and technology Computer algorithms Computer programming Algorithmus (DE-588)4001183-5 gnd rswk-swf Programmierung (DE-588)4076370-5 gnd rswk-swf (DE-588)4123623-3 Lehrbuch gnd-content Algorithmus (DE-588)4001183-5 s Programmierung (DE-588)4076370-5 s DE-604 Erscheint auch als Online-Ausgabe 978-1-4419-1748-5 HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018694973&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Šen, Aleksandr Ch. 1958- Algorithms and programming problems and solutions Computer algorithms Computer programming Algorithmus (DE-588)4001183-5 gnd Programmierung (DE-588)4076370-5 gnd |
subject_GND | (DE-588)4001183-5 (DE-588)4076370-5 (DE-588)4123623-3 |
title | Algorithms and programming problems and solutions |
title_auth | Algorithms and programming problems and solutions |
title_exact_search | Algorithms and programming problems and solutions |
title_full | Algorithms and programming problems and solutions Alexander Shen |
title_fullStr | Algorithms and programming problems and solutions Alexander Shen |
title_full_unstemmed | Algorithms and programming problems and solutions Alexander Shen |
title_short | Algorithms and programming |
title_sort | algorithms and programming problems and solutions |
title_sub | problems and solutions |
topic | Computer algorithms Computer programming Algorithmus (DE-588)4001183-5 gnd Programmierung (DE-588)4076370-5 gnd |
topic_facet | Computer algorithms Computer programming Algorithmus Programmierung Lehrbuch |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018694973&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT senaleksandrch algorithmsandprogrammingproblemsandsolutions |