<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Algorithms Q&amp;A - Recent questions in Graph Theory</title>
<link>https://notexponential.com/questions/graph-theory</link>
<description>Powered by Question2Answer</description>
<item>
<title>Give an example of a graph that has 6 vertices, 9 edges, but does not have a clique on 3 vertices</title>
<link>https://notexponential.com/917/give-example-graph-that-vertices-edges-does-clique-vertices</link>
<description>Give an example of a graph that has 6 vertices, 9 edges, but does not have a clique on 3 vertices</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/917/give-example-graph-that-vertices-edges-does-clique-vertices</guid>
<pubDate>Tue, 12 Dec 2023 03:28:42 +0000</pubDate>
</item>
<item>
<title>Example of a graph that is connected, has articulation point, needs 4 colors, and does not have a 4-clique</title>
<link>https://notexponential.com/774/example-graph-connected-articulation-point-colors-clique</link>
<description>Give an example of a graph that has all of the following properties. &amp;nbsp;(Note that you need to give a single graph as the answer.)&lt;br /&gt;
(i)&amp;nbsp; &amp;nbsp; It is connected&lt;br /&gt;
(ii)&amp;nbsp; &amp;nbsp; It has one articulation point.&lt;br /&gt;
(iii)&amp;nbsp; &amp;nbsp; The graph needs at least 4 colors for a valid vertex coloring&lt;br /&gt;
(iv)&amp;nbsp; &amp;nbsp; The graph does not have a 4-clique (that is, a clique of 4 vertices) as a subgraph.</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/774/example-graph-connected-articulation-point-colors-clique</guid>
<pubDate>Sat, 10 Dec 2022 21:36:51 +0000</pubDate>
</item>
<item>
<title>Give an example of a graph without an articulation point, a Hamiltonian cycle, or a 2-coloring</title>
<link>https://notexponential.com/581/example-graph-without-articulation-hamiltonian-coloring</link>
<description></description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/581/example-graph-without-articulation-hamiltonian-coloring</guid>
<pubDate>Mon, 09 Jul 2018 02:02:10 +0000</pubDate>
</item>
<item>
<title>How to generate a random connected graph?</title>
<link>https://notexponential.com/482/how-to-generate-a-random-connected-graph</link>
<description>&lt;p&gt;For running algorithms like&lt;span style=&quot;font-family:calibri,sans-serif; font-size:11pt&quot;&gt;&amp;nbsp;Minimum Spanning Tree, we want to create a undirected weighted graph to test and the graph is very large like n vertices and m edges. How can we create a random graph with random number of vertices and edges, so that the graph is connected?&lt;/span&gt;&lt;/p&gt;</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/482/how-to-generate-a-random-connected-graph</guid>
<pubDate>Sun, 15 Oct 2017 13:07:30 +0000</pubDate>
</item>
<item>
<title>Graph with no 3-clique that needs at least 4 colors</title>
<link>https://notexponential.com/477/graph-with-no-3-clique-that-needs-at-least-4-colors</link>
<description>&lt;p&gt;Give an example of a graph that has the following properties.&amp;nbsp; (Note that you need to give a single graph as the answer.)&lt;/p&gt;&lt;ol style=&quot;list-style-type:lower-roman&quot;&gt;&lt;li&gt;The graph does not contain a triangle (that is, a clique of 3 vertices) as a subgraph.&lt;/li&gt;&lt;li&gt;Graph needs at least 4 colors for a proper vertex coloring&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;[If you think that such a graph is not possible, then prove that statement.]&lt;/p&gt;</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/477/graph-with-no-3-clique-that-needs-at-least-4-colors</guid>
<pubDate>Mon, 24 Jul 2017 12:47:46 +0000</pubDate>
</item>
<item>
<title>Heap removing and adding</title>
<link>https://notexponential.com/359/heap-removing-and-adding</link>
<description>Now I have a heap or priority queue to maintain the max value of a series of numbers. Usually, if I want to pop the max value, fetching and removing the root number then putting the last number in the root and shifting down to balance; If I want to add a new number, adding the number at the end of the heap then shifting up to balance. &lt;br /&gt;
&lt;br /&gt;
So my question: If I want to pop the max value and immediately add new value, could I just remove the root number and put the new one in the root then shifting down to balance? If it is wrong, why? If it is true, how to prove it?</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/359/heap-removing-and-adding</guid>
<pubDate>Fri, 07 Oct 2016 04:30:34 +0000</pubDate>
</item>
<item>
<title>Graph that has 10 vertices, is 3-colorable and number of edges is maximized</title>
<link>https://notexponential.com/224/graph-that-has-vertices-colorable-and-number-edges-maximized</link>
<description>What is the maximum number of edges that can be present in a graph, that has 10 vertices, and has a valid vertex coloring with only 3 colors?</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/224/graph-that-has-vertices-colorable-and-number-edges-maximized</guid>
<pubDate>Tue, 23 Aug 2016 10:43:03 +0000</pubDate>
</item>
<item>
<title>Graph Example n &gt;= 6, delta &gt;= 4, ki = 2</title>
<link>https://notexponential.com/215/graph-example-n-6-delta-4-ki-2</link>
<description>&lt;p&gt;Give an example of a graph that contains &lt;strong&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;at least&lt;/span&gt;&lt;/strong&gt; 6 vertices, and each vertex has &lt;strong&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;at least&lt;/span&gt;&lt;/strong&gt; 4 neighbors, and the graph has a valid vertex coloring using only 2 colors.&lt;/p&gt;</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/215/graph-example-n-6-delta-4-ki-2</guid>
<pubDate>Sat, 20 Aug 2016 20:01:46 +0000</pubDate>
</item>
<item>
<title>Color this graph (n=10, m=15)</title>
<link>https://notexponential.com/199/color-this-graph-n-10-m-15</link>
<description>&lt;p&gt;Can you color this graph, such that every vertex receives some color, no two adjacent vertices receive the same color, and number colors used is minimized?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Petersen2_tiny.svg/220px-Petersen2_tiny.svg.png&quot; style=&quot;height:220px; width:220px&quot;&gt;&lt;/p&gt;</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/199/color-this-graph-n-10-m-15</guid>
<pubDate>Tue, 16 Aug 2016 01:42:23 +0000</pubDate>
</item>
<item>
<title>symmetry + transitivity =&gt; reflexivity, or not?</title>
<link>https://notexponential.com/128/symmetry-transitivity-reflexivity-or-not</link>
<description>Professor has posted a question that if one relation has the property of symmetry, such that if aRb, then bRa, and also transitivity, aRb, bRc so aRc, so can we say that because aRb and bRa, we can get aRa which is reflexivity?</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/128/symmetry-transitivity-reflexivity-or-not</guid>
<pubDate>Mon, 18 Jan 2016 18:30:12 +0000</pubDate>
</item>
<item>
<title>Polynomial time solution for Constrained Version of Tetris Problem</title>
<link>https://notexponential.com/125/polynomial-time-solution-constrained-version-tetris-problem</link>
<description>Tetris is known to be NP-complete problem in general. &amp;nbsp;However, in this constrained version, we only consider the straight tetrominoes, and further, we cannot rotate them.&lt;br /&gt;
&lt;br /&gt;
We can make the general assumptions that the board is w x h (width x height). &amp;nbsp;We can see the entire sequence of tetrominoes, which is n units long and only consists of straight tetrominoes (horizontal or vertical). &amp;nbsp;We can place those tetrominoes wherever we like, but we cannot rotate them.&lt;br /&gt;
&lt;br /&gt;
We receive k points for each row that becomes full. &amp;nbsp;The full row is then cleared away.&lt;br /&gt;
&lt;br /&gt;
​We need to maximize the score before the height reaches h (not including the cleared rows).</description>
<category>Graph Theory</category>
<guid isPermaLink="true">https://notexponential.com/125/polynomial-time-solution-constrained-version-tetris-problem</guid>
<pubDate>Thu, 14 Jan 2016 07:41:04 +0000</pubDate>
</item>
</channel>
</rss>