<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//codeanddebug.in/blog/main-sitemap.xsl"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>https://codeanddebug.in/blog/maximum-subarray-kadanes-algorithm/</loc>
		<lastmod>2025-06-26T17:39:59+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/</loc>
		<lastmod>2025-06-26T17:23:51+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/floyd-warshall-vs-dijkstra-all-pairs-shortest-paths/</loc>
		<lastmod>2025-06-26T17:15:59+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/bellman-ford-algorithm/</loc>
		<lastmod>2025-06-26T16:57:28+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/number-of-ways-to-arrive-at-destination-python/</loc>
		<lastmod>2025-06-26T16:53:53+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/minimum-multiplications-to-reach-end-python-bfs/</loc>
		<lastmod>2025-06-26T16:42:03+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/cheapest-flights-within-k-stops-leetcode-787/</loc>
		<lastmod>2025-06-26T16:31:11+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/two-sum-leetcode-1/</loc>
		<lastmod>2025-06-26T16:25:30+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/06/image-6.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/06/image-7.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/06/image-8.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/06/image-9.png</image:loc>
		</image:image>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/path-with-minimum-effort/</loc>
		<lastmod>2025-06-24T17:52:45+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/shortest-path-in-a-binary-matrix/</loc>
		<lastmod>2025-06-21T12:54:25+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/print-shortest-path-with-dijkstra-algorithm/</loc>
		<lastmod>2025-06-21T12:43:01+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/dijkstra-algorithm-in-python-using-a-set/</loc>
		<lastmod>2025-06-21T12:37:08+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/dijkstra-algorithm-with-a-priority-queue/</loc>
		<lastmod>2025-06-21T12:26:30+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/shortest-path-in-a-weighted-dag-topological-sort/</loc>
		<lastmod>2025-06-17T14:54:26+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/shortest-path-in-an-undirected-graph/</loc>
		<lastmod>2025-06-17T14:52:24+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/find-second-largest-and-second-smallest-element-in-an-array/</loc>
		<lastmod>2025-06-13T08:43:54+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/check-if-array-is-sorted/</loc>
		<lastmod>2025-06-13T08:42:00+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/find-eventual-safe-states-dfs/</loc>
		<lastmod>2025-06-12T09:15:43+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/find-eventual-safe-states-bfs/</loc>
		<lastmod>2025-06-12T08:55:37+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/course-schedule-1/</loc>
		<lastmod>2025-06-09T13:24:12+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/fibonacci-number/</loc>
		<lastmod>2025-06-09T08:41:18+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/palindrome-string-recursive-iterative-solution/</loc>
		<lastmod>2025-06-09T08:25:18+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/detect-cycle-in-a-directed-graph-kahns-algorithm-bfs/</loc>
		<lastmod>2025-06-04T09:50:36+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/topo-sort-kahns-algorithm/</loc>
		<lastmod>2025-06-04T09:47:39+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/detect-cycle-in-a-directed-graph/</loc>
		<lastmod>2025-06-03T10:24:32+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/topological-sort-in-graph/</loc>
		<lastmod>2025-06-03T10:13:49+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/is-graph-bipartite/</loc>
		<lastmod>2025-06-01T10:05:09+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/number-of-islands-leetcode-200/</loc>
		<lastmod>2025-06-01T09:56:16+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/number-of-distinct-islands/</loc>
		<lastmod>2025-06-01T09:56:12+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/word-ladder-leetcode-127/</loc>
		<lastmod>2025-05-31T13:26:34+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/word-ladder-ii-leetcode-126/</loc>
		<lastmod>2025-05-31T13:25:59+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/bubble-sort-algorithm-in-python/</loc>
		<lastmod>2025-05-29T07:49:29+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/AD_4nXeAicDfgF_f0fwisZ2JzaAcQkLjW66tFlYvSD2P6dT17BPC3anX66pWYRnpPWiza0UBaZpzrrWOZGqiWBOA70PJz4aqcq3yvzk-DSnZ7TO-mU4YPNzk2Nfvo8NtXyS4CRH1ZtmFyQ.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/AD_4nXc2bQoUrqluyIoD_iD5vrLgKLzHL3psy4Ww1SwubeiHnBccWxan4Q0GbK2BBkhnoAyxAq1Ge1hkHVyxlTKHJSFj7B5N48woMv83V9r5HcfyBgMhZnM1x06mnw2vZaiX1RxIZ10L.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/AD_4nXcjkNbKrcRr0wRtQlru2v4YuxdY5-D0tG6pmmdjrfUWaQ7BVqBe19IHOTPEr7eK2KzpTrz9rVsBnmehVyBeQpPlG9fKfH6Krewg3cdYe5sNHqdvYKibP4Dh2BnClf90OpZrUCZKBw.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/AD_4nXewQzkItj3Gqu8tAWUM6prjea9ieZNGNAW2Zk5xGGF-AEBFfHiTRd5Q-EtlwWOju8EK2ZA2vVd0oydDxTxkP35JBIT9cHsexT3n24Cgyrbbk8LTop9nOPovtIZA4hlbabMYIPr8A.png</image:loc>
		</image:image>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/number-of-enclaves-leetcode-1020/</loc>
		<lastmod>2025-05-27T12:19:12+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/surrounded-regions-leetcode-130/</loc>
		<lastmod>2025-05-27T12:10:57+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/01-matrix-leetcode-542/</loc>
		<lastmod>2025-05-27T06:04:12+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/detect-cycle-in-an-undirected-graph-using-dfs/</loc>
		<lastmod>2025-05-26T14:05:25+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/detect-cycle-in-an-undirected-graph-using-bfs/</loc>
		<lastmod>2025-05-24T13:50:19+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/flood-fill-leetcode-733/</loc>
		<lastmod>2025-05-24T13:07:34+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/rotting-oranges-leetcode-994/</loc>
		<lastmod>2025-05-24T12:52:32+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/depth-first-search-in-graph/</loc>
		<lastmod>2025-05-23T13:12:51+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/breadth-first-search-in-graph/</loc>
		<lastmod>2025-05-22T11:01:00+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/diameter-of-binary-tree/</loc>
		<lastmod>2025-05-14T07:00:31+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/maximum-depth-of-binary-tree/</loc>
		<lastmod>2025-05-14T06:59:34+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/breadth-first-search-in-binary-trees/</loc>
		<lastmod>2025-05-14T06:41:46+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/depth-first-search-in-binary-trees/</loc>
		<lastmod>2025-05-12T12:49:09+00:00</lastmod>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/rotate-an-array-by-k-places/</loc>
		<lastmod>2025-05-09T07:40:20+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/right-rotate-an-array-by-K-places-brute-force-solution.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/right-rotate-an-array-by-k-place-optimal-solution.png</image:loc>
		</image:image>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/find-the-largest-element-in-an-array/</loc>
		<lastmod>2025-05-08T14:34:29+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/largest-element-in-an-array-brute-force-solution.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/largest-element-in-an-array-optimal-solution-step1.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/largest-element-in-an-array-optimal-solution-step2.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/largest-element-in-an-array-optimal-solution-step3.png</image:loc>
		</image:image>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/remove-duplicates-from-sorted-array-leetcode-26/</loc>
		<lastmod>2025-05-08T14:33:10+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/remove-duplicates-from-sroted-array-brute-force-step1.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/remove-duplicates-from-sroted-array-brute-force-step2.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/remove-duplicates-from-sorted-array-optimal.png</image:loc>
		</image:image>
	</url>
	<url>
		<loc>https://codeanddebug.in/blog/maximum-consecutive-ones/</loc>
		<lastmod>2025-05-08T13:46:43+00:00</lastmod>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/Maximum-Consecutive-Ones-part1.png</image:loc>
		</image:image>
		<image:image>
			<image:loc>https://codeanddebug.in/blog/wp-content/uploads/2025/05/Maximum-Consecutive-Ones-part2.png</image:loc>
		</image:image>
	</url>
</urlset>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->