mirror of
https://github.com/lavafroth/lavafroth.github.io.git
synced 2026-05-29 10:31:15 -03:00
deploy: 372e3d59a3
This commit is contained in:
12
index.xml
12
index.xml
@@ -1,4 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>lavafroth</title><link>https://lavafroth.is-a.dev/</link><description>Recent content on lavafroth</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 03 Oct 2025 16:04:18 +0530</lastBuildDate><atom:link href="https://lavafroth.is-a.dev/index.xml" rel="self" type="application/rss+xml"/><item><title>for seshu baby mwa mwa</title><link>https://lavafroth.is-a.dev/ilrlmvakdlx9uwodtocdbg/</link><pubDate>Fri, 03 Oct 2025 16:04:18 +0530</pubDate><guid>https://lavafroth.is-a.dev/ilrlmvakdlx9uwodtocdbg/</guid><description><blockquote>
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>lavafroth</title><link>https://lavafroth.is-a.dev/</link><description>Recent content on lavafroth</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 28 Oct 2025 16:09:00 +0530</lastBuildDate><atom:link href="https://lavafroth.is-a.dev/index.xml" rel="self" type="application/rss+xml"/><item><title>secret note jfgp3d7rrx0</title><link>https://lavafroth.is-a.dev/jfgp3d7rrx0/</link><pubDate>Tue, 28 Oct 2025 16:09:00 +0530</pubDate><guid>https://lavafroth.is-a.dev/jfgp3d7rrx0/</guid><description><p>There will be an explanation for non-trivial questions.</p>
|
||||
<h1 id="activity-1">Activity 1</h1>
|
||||
<h2 id="1">1</h2>
|
||||
<p>Dijkstra&rsquo;s algorithm guarantees finding the shortest path from a single source to all other vertices under which of the following conditions?</p>
|
||||
<p><strong>Answer:</strong> All edge weights must be non-negative.</p>
|
||||
<h2 id="2">2</h2>
|
||||
<p>Consider an undirected graph with 5 vertices <span class="katex"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><msub><mi>V</mi><mn>0</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>3</mn></msub><mo separator="true">,</mo><msub><mi>V</mi><mn>4</mn></msub><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(V_0, V_1, V_2, V_3, V_4)</annotation></semantics></math></span>. At a certain point
|
||||
in Dijkstra&rsquo;s algorithm (starting from <span class="katex"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>V</mi><mn>0</mn></msub></mrow><annotation encoding="application/x-tex">V_0</annotation></semantics></math></span>), the current tentative distances are:
|
||||
<span class="katex"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mo>=</mo><mo stretchy="false">{</mo><msub><mi>V</mi><mn>0</mn></msub><mo>:</mo><mn>0</mn><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo>:</mo><mn>5</mn><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo>:</mo><mn>3</mn><mo separator="true">,</mo><msub><mi>V</mi><mn>3</mn></msub><mo>:</mo><mn>8</mn><mo separator="true">,</mo><msub><mi>V</mi><mn>4</mn></msub><mo>:</mo><mn>10</mn><mo stretchy="false">}</mo></mrow><annotation encoding="application/x-tex">dist = \{V_0:0, V_1:5, V_2:3, V_3:8, V_4:10\}</annotation></semantics></math></span>. And the processed set is: <span class="katex"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">{</mo><msub><mi>V</mi><mn>0</mn></msub><mo>:</mo><mi>T</mi><mi>r</mi><mi>u</mi><mi>e</mi><mo separator="true">,</mo><msub><mi>V</mi><mn>1</mn></msub><mo>:</mo><mi>F</mi><mi>a</mi><mi>l</mi><mi>s</mi><mi>e</mi><mo separator="true">,</mo><msub><mi>V</mi><mn>2</mn></msub><mo>:</mo><mi>F</mi><mi>a</mi><mi>l</mi><mi>s</mi><mi>e</mi><mo separator="true">,</mo><msub><mi>V</mi><mn>3</mn></msub><mo>:</mo><mi>F</mi><mi>a</mi><mi>l</mi><mi>s</mi><mi>e</mi><mo separator="true">,</mo><msub><mi>V</mi><mn>4</mn></msub><mo>:</mo><mi>F</mi><mi>a</mi><mi>l</mi><mi>s</mi><mi>e</mi><mo stretchy="false">}</mo></mrow><annotation encoding="application/x-tex">\{V_0:True,
|
||||
V_1:False, V_2:False, V_3:False, V_4:False\}</annotation></semantics></math></span>. Assuming the next step is to select an unvisited
|
||||
vertex to mark as processed, which vertex will be chosen?</p></description></item><item><title>for seshu baby mwa mwa</title><link>https://lavafroth.is-a.dev/ilrlmvakdlx9uwodtocdbg/</link><pubDate>Fri, 03 Oct 2025 16:04:18 +0530</pubDate><guid>https://lavafroth.is-a.dev/ilrlmvakdlx9uwodtocdbg/</guid><description><blockquote>
|
||||
<p>Update: I have added the GA 2 sols as well. Please take them with a grain of salt obviously
|
||||
I am also fallible to mistakes.</p>
|
||||
</blockquote>
|
||||
|
||||
83
jfgp3d7rrx0/index.html
Normal file
83
jfgp3d7rrx0/index.html
Normal file
File diff suppressed because one or more lines are too long
BIN
pagefind/fragment/en-us_bef7b43.pf_fragment
Normal file
BIN
pagefind/fragment/en-us_bef7b43.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
BIN
pagefind/index/en-us_3235f32.pf_index
Normal file
BIN
pagefind/index/en-us_3235f32.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
pagefind/index/en-us_5840b7b.pf_index
Normal file
BIN
pagefind/index/en-us_5840b7b.pf_index
Normal file
Binary file not shown.
BIN
pagefind/index/en-us_882a770.pf_index
Normal file
BIN
pagefind/index/en-us_882a770.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
pagefind/index/en-us_949fd1b.pf_index
Normal file
BIN
pagefind/index/en-us_949fd1b.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
pagefind/index/en-us_bd67845.pf_index
Normal file
BIN
pagefind/index/en-us_bd67845.pf_index
Normal file
Binary file not shown.
BIN
pagefind/index/en-us_ec1c2c2.pf_index
Normal file
BIN
pagefind/index/en-us_ec1c2c2.pf_index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
{"version":"1.0.3","languages":{"en-us":{"hash":"en-us_a9df8a55dc42f","wasm":"en-us","page_count":55}}}
|
||||
{"version":"1.0.3","languages":{"en-us":{"hash":"en-us_fc2e4d403cd58","wasm":"en-us","page_count":56}}}
|
||||
Binary file not shown.
BIN
pagefind/pagefind.en-us_fc2e4d403cd58.pf_meta
Normal file
BIN
pagefind/pagefind.en-us_fc2e4d403cd58.pf_meta
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user