Showing an Algorithm is Incorrect (Example 2)

Published on ● Video Link: https://www.youtube.com/watch?v=pyamat8o844



Duration: 12:35
15 views
2


For today's lesson, we see another example of how we could search an array gone wrong. Let's adapt the problem solving framework we seen previously to expose the mistake (even if the idea isn't wrong, the algorithm's description is).

Time Stamps:
0:00 Example setup
5:36 Instance being applied to OutsideInSearch.
8:34 What's wrong with our algorithm? How do we fix it?
12:15 Closing


Have a beautiful day!

Supporters (to date of publication, by tier (top to bottom)):
----------------------------------------------------------
Patreon Supporters (General Support):
Draikou
Patreon Supporters (Basic Support):
Patreon Supporters (Supporter Access!):
Eric R
-----------------------------------------------------------
Become a supporter today! To support my work and mission to provide free or accessible Computer Science education (especially in theory), subscribe to the channel, share my videos. Please donate and contribute to support my work for more content:
PATREON: https://www.patreon.com/PageWizard
SUBSCRIBESTAR: https://www.subscribestar.com/drpage
PAYPAL: https://paypal.me/pagewizard

Follow also at:
FACEBOOK: https://www.facebook.com/DanielRPage
TWITTER: https://twitter.com/PageWizardGLE
QUORA: https://www.quora.com/profile/Daniel-R-Page
TWITCH: https://www.twitch.tv/pagewizard

#ComputerScience
#Algorithms
#DataStructures




Other Videos By PageWizard Games, Learning & Entertainment


2022-11-163. Reposition Strategy for k-Canadian Travelling (Haunted Escape)
2022-11-142. Competitiveness of Online Algorithms (Haunted Escape)
2022-11-111. k-Canadian Traveller & Problem Setup (Haunted Escape)
2022-11-11Dan Plays Legend of Zelda: Link's Awakening DX (PJ STREAM, JOIN THE FUN)
2022-11-09Proving 1 + 2 + 3 + … + n = n(n+1)/2 using Mathematical Induction
2022-11-09Haunted Escape (Intro to k-Canadian Traveller and Online Algorithms)
2022-11-07Why Dijkstra's Algorithm Fails for Negative Weight Edges (Graphs: Algorithms & Theory)
2022-11-04Correctness of Dijkstra's Algorithm (Graphs: Algorithms & Theory)
2022-11-02Dijkstra's Algorithm WITH FULL EXAMPLE (Graphs: Algorithms & Theory)
2022-10-31Single-Source Shortest Path Problem (Graphs: Algorithms & Theory)
2022-10-28Showing an Algorithm is Incorrect (Example 2)
2022-10-28Dan Plays Legend of Zelda: Link's Awakening DX & The Crystal of Kings
2022-10-26Showing an Algorithm is Incorrect (Example 1)
2022-10-25Single-Source Shortest Path Problem and Dijkstra's Algorithm
2022-10-24How Do We Know Algorithms are Incorrect?
2022-10-21Prim's Algorithm in Under 1 Minute - Think Like The Blob! (Graphs: Algorithms & Theory)
2022-10-19Summations, Closed Forms, and Simplifying Them: A Tutorial
2022-10-19How Do We Know An Algorithm is Incorrect, Shortest Paths, and Minimum Spanning Trees!
2022-10-17Cut Property of Minimum Spanning Trees & Algorithms (Graphs: Algorithms & Theory)
2022-10-14Introduction to Mathematical Sequences, and How to Derive a Sequence
2022-10-14Dan Plays Legend of Zelda: Link's Awakening DX



Tags:
Computer Science
Algorithms
Data Structures
Education
CompSci
CS
PageWizard
Mathematics
Accessibility
University
COMPSCI
COMP
CSCI
Western
Manitoba
StFX
Regina
incorrect algorithm
incorrect
disproof
example
exercise