<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://algorist.com/algowiki_v2/index.php?action=history&amp;feed=atom&amp;title=Search-TADM2E</id>
		<title>Search-TADM2E - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://algorist.com/algowiki_v2/index.php?action=history&amp;feed=atom&amp;title=Search-TADM2E"/>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=Search-TADM2E&amp;action=history"/>
		<updated>2026-05-01T03:46:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://algorist.com/algowiki_v2/index.php?title=Search-TADM2E&amp;diff=210&amp;oldid=prev</id>
		<title>Algowikiadmin: Protected &quot;Search-TADM2E&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=Search-TADM2E&amp;diff=210&amp;oldid=prev"/>
				<updated>2014-09-11T18:43:36Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/algowiki_v2/index.php/Search-TADM2E&quot; title=&quot;Search-TADM2E&quot;&gt;Search-TADM2E&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:43, 11 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Algowikiadmin</name></author>	</entry>

	<entry>
		<id>https://algorist.com/algowiki_v2/index.php?title=Search-TADM2E&amp;diff=194&amp;oldid=prev</id>
		<title>Algowikiadmin: Recovering wiki</title>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=Search-TADM2E&amp;diff=194&amp;oldid=prev"/>
				<updated>2014-09-11T18:24:16Z</updated>
		
		<summary type="html">&lt;p&gt;Recovering wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Combinatorial Search and Heuristic Methods =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BackTracking'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-1. &lt;br /&gt;
A ''derangement'' is a permutation &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt;&lt;br /&gt;
such that no item is in its proper position, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;p_i \neq i&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;1 \leq i \leq n&amp;lt;/math&amp;gt;.&lt;br /&gt;
''derangement''&lt;br /&gt;
Write an efficient backtracking program with pruning&lt;br /&gt;
that constructs all the derangements&lt;br /&gt;
of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; items.}&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.1|(Solution 7.1)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-2. &lt;br /&gt;
''Multisets'' are allowed to have repeated elements.&lt;br /&gt;
A multiset of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; items may thus have fewer than &amp;lt;math&amp;gt;n!&amp;lt;/math&amp;gt; distinct permutations.&lt;br /&gt;
For example, &amp;lt;math&amp;gt;\{1,1,2,2\}&amp;lt;/math&amp;gt; has only six different permutations:&lt;br /&gt;
&amp;lt;math&amp;gt;\{1,1,2,2\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\{1,2,1,2\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\{1,2,2,1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\{2,1,1,2\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\{2,1,2,1\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and &amp;lt;math&amp;gt;\{2,2,1,1\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
''multiset''&lt;br /&gt;
Design and implement an efficient algorithm&lt;br /&gt;
for constructing all permutations of a multiset.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-3. &lt;br /&gt;
Design and implement an algorithm for testing whether two graphs are&lt;br /&gt;
isomorphic to each other.&lt;br /&gt;
The graph isomorphism problem is discussed in '''graph-isomorphism'''.&lt;br /&gt;
With proper pruning, graphs on hundreds of vertices can be tested&lt;br /&gt;
reliably.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.3|(Solution 7.3)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-4. &lt;br /&gt;
Anagrams are rearrangements of the letters of a word or phrase&lt;br /&gt;
into a different word or phrase.&lt;br /&gt;
Sometimes the results are quite striking.&lt;br /&gt;
For example,&lt;br /&gt;
''MANY VOTED BUSH RETIRED'' is an anagram of&lt;br /&gt;
''TUESDAY NOVEMBER THIRD,'' which correctly predicted the result of the&lt;br /&gt;
1992 U.S. presidential election.&lt;br /&gt;
Design and implement an algorithm for finding anagrams using combinatorial&lt;br /&gt;
search and a dictionary.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-5. &lt;br /&gt;
Design and implement an algorithm for solving the subgraph isomorphism&lt;br /&gt;
problem.&lt;br /&gt;
Given graphs &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt;, does there exist a subgraph &amp;lt;math&amp;gt;H'&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt;&lt;br /&gt;
such that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is isomorphic to &amp;lt;math&amp;gt;H'&amp;lt;/math&amp;gt;?&lt;br /&gt;
How does your program perform on such special cases of subgraph&lt;br /&gt;
isomorphism as Hamiltonian cycle, clique, independent set,&lt;br /&gt;
and graph isomorphism?&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.5|(Solution 7.5)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-6. &lt;br /&gt;
In the turnpike reconstruction problem,&lt;br /&gt;
you are given &amp;lt;math&amp;gt;n(n-1)/2&amp;lt;/math&amp;gt; distances in sorted order.&lt;br /&gt;
The problem is to find the positions of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&lt;br /&gt;
points on the line that give rise to&lt;br /&gt;
these distances.&lt;br /&gt;
For example, the distances &amp;lt;math&amp;gt;\{1,2,3,4,5,6\}&amp;lt;/math&amp;gt; can be determined&lt;br /&gt;
by placing the second point 1 unit from the first, the&lt;br /&gt;
third point 3 from the second, and the fourth point 2&lt;br /&gt;
from the third.&lt;br /&gt;
Design and implement an efficient algorithm to report all solutions&lt;br /&gt;
to the turnpike reconstruction problem.&lt;br /&gt;
Exploit additive constraints when possible to minimize the search.&lt;br /&gt;
With proper pruning, problems with hundreds of points can be solved&lt;br /&gt;
reliably.&lt;br /&gt;
''turnpike reconstruction problem''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Combinatorial Optimization'''&lt;br /&gt;
For each of the problems below, either (1) implement a combinatorial&lt;br /&gt;
search program to solve it optimally for small instance, and/or&lt;br /&gt;
(2) design and implement a simulated&lt;br /&gt;
annealing heuristic to get reasonable solutions.&lt;br /&gt;
How well does your program perform in practice?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-7. &lt;br /&gt;
Design and implement an algorithm for solving the bandwidth minimization&lt;br /&gt;
problem discussed in '''bandwidth'''.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.7|(Solution 7.7)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-8. &lt;br /&gt;
Design and implement an algorithm for solving the maximum satisfiability&lt;br /&gt;
problem discussed in '''satisfiability'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-9. &lt;br /&gt;
Design and implement an algorithm for solving the maximum clique&lt;br /&gt;
problem discussed in '''clique'''.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.9|(Solution 7.9)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-10. &lt;br /&gt;
Design and implement an algorithm for solving the minimum vertex&lt;br /&gt;
coloring problem discussed in '''vertex-coloring'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-11. &lt;br /&gt;
Design and implement an algorithm for solving the minimum edge&lt;br /&gt;
coloring problem discussed in '''edge-coloring'''.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.11|(Solution 7.11)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-12. &lt;br /&gt;
Design and implement an algorithm for solving the minimum feedback&lt;br /&gt;
vertex set problem discussed in '''feedback-set'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-13. &lt;br /&gt;
Design and implement an algorithm for solving the set cover problem&lt;br /&gt;
discussed in '''set-cover'''.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.13|(Solution 7.13)]] &lt;br /&gt;
&lt;br /&gt;
'''Interview Problems'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-14. &lt;br /&gt;
Write a function to find all permutations of the letters in a particular&lt;br /&gt;
string.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-15. &lt;br /&gt;
Implement an efficient algorithm for listing all &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;-element subsets&lt;br /&gt;
of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; items.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.15|(Solution 7.15)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-16. &lt;br /&gt;
An anagram is a rearrangement of the letters in a given string&lt;br /&gt;
into ''Vainest Knees''.&lt;br /&gt;
Propose an algorithm to&lt;br /&gt;
construct all the anagrams of a given string.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-17. &lt;br /&gt;
Telephone keypads have letters on each numerical key.&lt;br /&gt;
Write a program that generates all possible&lt;br /&gt;
words resulting from translating a given digit sequence (e.g., 145345)&lt;br /&gt;
into letters.&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.17|(Solution 7.17)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-18. &lt;br /&gt;
You start with an empty room and a group of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people waiting outside.&lt;br /&gt;
At each step, you may either admit one person into the room, or&lt;br /&gt;
let one out.&lt;br /&gt;
Can you arrange a sequence of &amp;lt;math&amp;gt;2^n&amp;lt;/math&amp;gt; steps, so that every possible&lt;br /&gt;
combination of people is achieved exactly once?&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.18|(Solution 7.18)]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;7-19. &lt;br /&gt;
Use a random number generator (rng04) that generates numbers&lt;br /&gt;
from &amp;lt;math&amp;gt;\{0,1,2,3,4\}&amp;lt;/math&amp;gt; with equal probability&lt;br /&gt;
to write a random number generator that generates numbers from&lt;br /&gt;
0 to 7 (rng07) with equal probability.&lt;br /&gt;
What are expected number of&lt;br /&gt;
calls to rng04 per call of rng07?&lt;br /&gt;
&lt;br /&gt;
[[TADM2E 7.19|(Solution 7.19)]]&lt;/div&gt;</summary>
		<author><name>Algowikiadmin</name></author>	</entry>

	</feed>