SlideShare a Scribd company logo
1 of 12
The	
  Computa,onal	
  Complexity	
  
of	
  Chinese	
  and	
  Italian	
  
Noodle	
  Making	
  
Daniel	
  M.	
  Berry	
  
University	
  of	
  Waterloo,	
  Waterloo,	
  ON,	
  N2L	
  3G1	
  Canada	
  
dberry@uwaterloo.ca	
  
	
  
Luisa	
  Mich	
  
University	
  of	
  Trento,	
  I-­‐38122	
  Trento,	
  Italy	
  
luisa.mich@unitn.it	
  
A	
  Graphic	
  Extended	
  Abstract!	
  
We	
  will	
  be	
  looking	
  at	
  algorithms	
  (a.k.a.	
  recipes)	
  
for	
  making	
  noodles:	
  
•  Chinese	
  mian	
  
•  Italian	
  pasta	
  
	
  
We	
  will	
  be	
  giving	
  complexi,es	
  as	
  a	
  func,on	
  of	
  
the	
  number,	
  n,	
  of	
  noodles	
  made.	
  
O(log	
  n)	
  Algorithm	
  
First,	
  a	
  demonstra,on	
  of	
  an	
  O(log	
  n)	
  algorithm	
  
for	
  making	
  Chinese	
  mian:	
  
	
  
	
  
hUps://youtu.be/PHoQN9vQwHE?
start=330&end=352	
  
	
  
	
  
	
  
	
  
4096	
  Mian	
  in	
  41.34	
  Seconds	
  
	
  
If	
  you	
  go	
  to	
  
hUp://www.scien,ficpsychic.com/mind/
noodles.html	
  
and	
  search	
  for	
  "4,096",	
  you	
  find:	
  
	
  
	
  
 
	
  
World’s	
  Record!	
  
If	
  you	
  play	
  the	
  video,	
  you	
  see:	
  
hUps://youtu.be/auhHl5-­‐6VdY?
start=20&end=70	
  
	
  
We	
  bet	
  that	
  they	
  did	
  not	
  count	
  the	
  strands	
  get	
  
to	
  4096!	
  :-­‐)	
  
	
  
4096	
  just	
  happens	
  to	
  be	
  equal	
  to	
  212!	
  	
  Wow!	
  
WoUa	
  coincidence!!!!!	
  
O(n)	
  Algorithm	
  
A	
  demonstra,on	
  of	
  an	
  O(n)	
  algorithm	
  for	
  
making	
  Italian	
  feUucine:	
  
	
  
	
  
hUps://youtu.be/-­‐lMmUf2nqYA?
start=330&end=355	
  
	
  
Constant-­‐Time	
  Algorithm	
  
Now	
  the	
  instrument	
  needed	
  for	
  a	
  constant-­‐,me	
  
algorithm	
  for	
  making	
  Italian	
  pasta:	
  
	
  
	
  
	
  
O(⎷n)	
  Algorithm	
  
Finally,	
  a	
  demonstra,on	
  of	
  sorts	
  of	
  an	
  O(⎷n)	
  
algorithm	
  for	
  making	
  short	
  Italian	
  pasta:	
  
	
  
	
  
hUps://youtu.be/1teUhznIYeU?
start=230&end=242	
  
Conclusions	
  
We	
  wrote	
  the	
  paper	
  to	
  be	
  an	
  educa,onal	
  
resource,	
  to	
  be	
  used	
  as	
  an	
  appe%zing	
  and	
  
mo%va%ng	
  introduc,on	
  to	
  computa,onal	
  
complexity,	
  …	
  
which	
  normally	
  scares	
  the	
  s-­‐-­‐t	
  out	
  of	
  students,	
  
to	
  the	
  extent	
  that	
  they	
  avoid	
  all	
  courses	
  in	
  which	
  
it	
  is	
  taught.	
  
	
  
	
  
Conclusions	
  (cont’d)	
  
We	
  submiUed	
  the	
  paper	
  for	
  publica,on	
  at	
  
SIGBOVIK	
  in	
  the	
  hopes	
  of	
  having	
  a	
  permanent	
  
place	
  from	
  which	
  educators	
  and	
  students	
  can	
  
download	
  this	
  educa,onal	
  resource.	
  
	
  
Also,	
  it	
  gives	
  us	
  an	
  opportunity	
  to	
  visit	
  
PiUsburgh,	
  to	
  visit	
  the	
  Bagel	
  Factory,	
  to	
  buy	
  at	
  
Giant	
  Eagle	
  (Jaint	
  Iggle)	
  American	
  products	
  not	
  
available	
  in	
  Canada	
  and	
  Italy!	
  Daniel	
  used	
  to	
  
work	
  for	
  the	
  SEI!	
  
Noodle	
  Dinner	
  Tonight?	
  
BTW,	
  aner	
  the	
  conference	
  is	
  over,	
  we	
  were	
  	
  
thinking	
  of	
  going	
  to	
  eat	
  dinner	
  at	
  
Lu	
  Lu's	
  Noodles	
  at	
  400	
  S	
  Craig	
  St.	
  What	
  do	
  you	
  
think?	
  

More Related Content

Similar to Complessità degli algoritmi per fare la pasta - A new way to learn algorithms complexity

Evaluation - Question 6
Evaluation - Question 6Evaluation - Question 6
Evaluation - Question 6penfolddolly1
 
I Pod In Education
I Pod In EducationI Pod In Education
I Pod In EducationLinda Rush
 
Using iPads to Create Video Content in the Classroom - TCEA 2015
Using iPads to Create Video Content in the Classroom - TCEA 2015Using iPads to Create Video Content in the Classroom - TCEA 2015
Using iPads to Create Video Content in the Classroom - TCEA 2015Diana Benner
 
iTunes U + Podcast Producer
iTunes U + Podcast ProduceriTunes U + Podcast Producer
iTunes U + Podcast ProducerDave Olsen
 
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraisingEllen Pettersson
 
Code is so much more...
Code is so much more...Code is so much more...
Code is so much more...Praveen Puglia
 
Evaluation 6 improved
Evaluation 6 improvedEvaluation 6 improved
Evaluation 6 improvedEmily Warner
 
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...Problem-solving, Iteration & Creativity: What I learned while making the #TFF...
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...Elizabeth Neely
 
Ikazuchi introduction for Europython 2011 LT
Ikazuchi introduction for Europython 2011 LTIkazuchi introduction for Europython 2011 LT
Ikazuchi introduction for Europython 2011 LTTetsuya Morimoto
 
Presentation1
Presentation1Presentation1
Presentation1kayeskhan
 
Create Videos for Your Blended Classroom
Create Videos for Your Blended ClassroomCreate Videos for Your Blended Classroom
Create Videos for Your Blended ClassroomMartin Cisneros
 
Week 6 Podcasts
Week 6 PodcastsWeek 6 Podcasts
Week 6 PodcastsRachman12
 
Use of video: thinking outside the lecture
Use of video: thinking outside the lectureUse of video: thinking outside the lecture
Use of video: thinking outside the lectureSHU Learning & Teaching
 

Similar to Complessità degli algoritmi per fare la pasta - A new way to learn algorithms complexity (20)

Evaluation - Question 6
Evaluation - Question 6Evaluation - Question 6
Evaluation - Question 6
 
An iPod in Your Classroom Toolbox
An iPod in Your Classroom ToolboxAn iPod in Your Classroom Toolbox
An iPod in Your Classroom Toolbox
 
I Pod In Education
I Pod In EducationI Pod In Education
I Pod In Education
 
Using iPads to Create Video Content in the Classroom - TCEA 2015
Using iPads to Create Video Content in the Classroom - TCEA 2015Using iPads to Create Video Content in the Classroom - TCEA 2015
Using iPads to Create Video Content in the Classroom - TCEA 2015
 
You Don't Have to Be Steven Spielberg
You Don't Have to Be Steven SpielbergYou Don't Have to Be Steven Spielberg
You Don't Have to Be Steven Spielberg
 
You Don't Have to Be Steven Spielberg
You Don't Have to Be Steven SpielbergYou Don't Have to Be Steven Spielberg
You Don't Have to Be Steven Spielberg
 
You Don't Have to Be Steven Spielberg!
You Don't Have to Be Steven Spielberg!You Don't Have to Be Steven Spielberg!
You Don't Have to Be Steven Spielberg!
 
iTunes U + Podcast Producer
iTunes U + Podcast ProduceriTunes U + Podcast Producer
iTunes U + Podcast Producer
 
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising
20130823 Deliverables Friday 23 SOS-barnbyar #futureoffundraising
 
Code is so much more...
Code is so much more...Code is so much more...
Code is so much more...
 
Evaluation 6 improved
Evaluation 6 improvedEvaluation 6 improved
Evaluation 6 improved
 
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...Problem-solving, Iteration & Creativity: What I learned while making the #TFF...
Problem-solving, Iteration & Creativity: What I learned while making the #TFF...
 
Ikazuchi introduction for Europython 2011 LT
Ikazuchi introduction for Europython 2011 LTIkazuchi introduction for Europython 2011 LT
Ikazuchi introduction for Europython 2011 LT
 
Presentation1
Presentation1Presentation1
Presentation1
 
Create Videos for Your Blended Classroom
Create Videos for Your Blended ClassroomCreate Videos for Your Blended Classroom
Create Videos for Your Blended Classroom
 
Week 6 Podcasts
Week 6 PodcastsWeek 6 Podcasts
Week 6 Podcasts
 
Evaluation 6
Evaluation 6Evaluation 6
Evaluation 6
 
Podcasting
PodcastingPodcasting
Podcasting
 
Powerpoint A R T
Powerpoint A R TPowerpoint A R T
Powerpoint A R T
 
Use of video: thinking outside the lecture
Use of video: thinking outside the lectureUse of video: thinking outside the lecture
Use of video: thinking outside the lecture
 

More from Luisa Mich

Sistemi Informativi per il turismo.pdf
Sistemi Informativi per il turismo.pdfSistemi Informativi per il turismo.pdf
Sistemi Informativi per il turismo.pdfLuisa Mich
 
Creativity techniques
Creativity techniquesCreativity techniques
Creativity techniquesLuisa Mich
 
Semantic technology: The tourists’ voice comes alive.
Semantic technology: The tourists’ voice comes alive.Semantic technology: The tourists’ voice comes alive.
Semantic technology: The tourists’ voice comes alive.Luisa Mich
 
Ict training certificationsitalianhightschool
Ict training certificationsitalianhightschoolIct training certificationsitalianhightschool
Ict training certificationsitalianhightschoolLuisa Mich
 
Accountability of Artificial Intelligence
Accountability of Artificial IntelligenceAccountability of Artificial Intelligence
Accountability of Artificial IntelligenceLuisa Mich
 
Ise2008 website quality evaluation roadmap
Ise2008 website quality evaluation roadmapIse2008 website quality evaluation roadmap
Ise2008 website quality evaluation roadmapLuisa Mich
 
Ai beyond bits and bots
Ai beyond bits and botsAi beyond bits and bots
Ai beyond bits and botsLuisa Mich
 
Mich peretta hci2017
Mich peretta hci2017Mich peretta hci2017
Mich peretta hci2017Luisa Mich
 
Mich internet e il web miti e dati
Mich internet e il web miti e datiMich internet e il web miti e dati
Mich internet e il web miti e datiLuisa Mich
 
Le sfide della destinazione digitale
Le sfide della destinazione digitaleLe sfide della destinazione digitale
Le sfide della destinazione digitaleLuisa Mich
 
Website qualityaddressingqualitygaps2014
Website qualityaddressingqualitygaps2014Website qualityaddressingqualitygaps2014
Website qualityaddressingqualitygaps2014Luisa Mich
 
La reputazione online della città di Trento - Online reputation of the city o...
La reputazione online della città di Trento - Online reputation of the city o...La reputazione online della città di Trento - Online reputation of the city o...
La reputazione online della città di Trento - Online reputation of the city o...Luisa Mich
 
Enter2016 Mich Peretta Italian Museums Web Strategy
Enter2016 Mich Peretta Italian Museums Web StrategyEnter2016 Mich Peretta Italian Museums Web Strategy
Enter2016 Mich Peretta Italian Museums Web StrategyLuisa Mich
 
Conceptual modelling from natural language
Conceptual modelling from natural languageConceptual modelling from natural language
Conceptual modelling from natural languageLuisa Mich
 
Designing a site as a management tool
Designing a site as a management toolDesigning a site as a management tool
Designing a site as a management toolLuisa Mich
 
Tourist destination players information requirements enter 2001
Tourist destination players information requirements enter 2001Tourist destination players information requirements enter 2001
Tourist destination players information requirements enter 2001Luisa Mich
 
Web presence strategy model
Web presence strategy modelWeb presence strategy model
Web presence strategy modelLuisa Mich
 
Paradosso degli investimenti informatici
Paradosso degli investimenti informaticiParadosso degli investimenti informatici
Paradosso degli investimenti informaticiLuisa Mich
 
Teaching requirements analysis REET 2014 at RE2014
Teaching requirements analysis REET 2014 at RE2014Teaching requirements analysis REET 2014 at RE2014
Teaching requirements analysis REET 2014 at RE2014Luisa Mich
 

More from Luisa Mich (20)

Sistemi Informativi per il turismo.pdf
Sistemi Informativi per il turismo.pdfSistemi Informativi per il turismo.pdf
Sistemi Informativi per il turismo.pdf
 
Creativity techniques
Creativity techniquesCreativity techniques
Creativity techniques
 
Semantic technology: The tourists’ voice comes alive.
Semantic technology: The tourists’ voice comes alive.Semantic technology: The tourists’ voice comes alive.
Semantic technology: The tourists’ voice comes alive.
 
Ict training certificationsitalianhightschool
Ict training certificationsitalianhightschoolIct training certificationsitalianhightschool
Ict training certificationsitalianhightschool
 
Accountability of Artificial Intelligence
Accountability of Artificial IntelligenceAccountability of Artificial Intelligence
Accountability of Artificial Intelligence
 
Ai4 cx
Ai4 cxAi4 cx
Ai4 cx
 
Ise2008 website quality evaluation roadmap
Ise2008 website quality evaluation roadmapIse2008 website quality evaluation roadmap
Ise2008 website quality evaluation roadmap
 
Ai beyond bits and bots
Ai beyond bits and botsAi beyond bits and bots
Ai beyond bits and bots
 
Mich peretta hci2017
Mich peretta hci2017Mich peretta hci2017
Mich peretta hci2017
 
Mich internet e il web miti e dati
Mich internet e il web miti e datiMich internet e il web miti e dati
Mich internet e il web miti e dati
 
Le sfide della destinazione digitale
Le sfide della destinazione digitaleLe sfide della destinazione digitale
Le sfide della destinazione digitale
 
Website qualityaddressingqualitygaps2014
Website qualityaddressingqualitygaps2014Website qualityaddressingqualitygaps2014
Website qualityaddressingqualitygaps2014
 
La reputazione online della città di Trento - Online reputation of the city o...
La reputazione online della città di Trento - Online reputation of the city o...La reputazione online della città di Trento - Online reputation of the city o...
La reputazione online della città di Trento - Online reputation of the city o...
 
Enter2016 Mich Peretta Italian Museums Web Strategy
Enter2016 Mich Peretta Italian Museums Web StrategyEnter2016 Mich Peretta Italian Museums Web Strategy
Enter2016 Mich Peretta Italian Museums Web Strategy
 
Conceptual modelling from natural language
Conceptual modelling from natural languageConceptual modelling from natural language
Conceptual modelling from natural language
 
Designing a site as a management tool
Designing a site as a management toolDesigning a site as a management tool
Designing a site as a management tool
 
Tourist destination players information requirements enter 2001
Tourist destination players information requirements enter 2001Tourist destination players information requirements enter 2001
Tourist destination players information requirements enter 2001
 
Web presence strategy model
Web presence strategy modelWeb presence strategy model
Web presence strategy model
 
Paradosso degli investimenti informatici
Paradosso degli investimenti informaticiParadosso degli investimenti informatici
Paradosso degli investimenti informatici
 
Teaching requirements analysis REET 2014 at RE2014
Teaching requirements analysis REET 2014 at RE2014Teaching requirements analysis REET 2014 at RE2014
Teaching requirements analysis REET 2014 at RE2014
 

Recently uploaded

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 

Recently uploaded (20)

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 

Complessità degli algoritmi per fare la pasta - A new way to learn algorithms complexity

  • 1. The  Computa,onal  Complexity   of  Chinese  and  Italian   Noodle  Making   Daniel  M.  Berry   University  of  Waterloo,  Waterloo,  ON,  N2L  3G1  Canada   dberry@uwaterloo.ca     Luisa  Mich   University  of  Trento,  I-­‐38122  Trento,  Italy   luisa.mich@unitn.it  
  • 2. A  Graphic  Extended  Abstract!   We  will  be  looking  at  algorithms  (a.k.a.  recipes)   for  making  noodles:   •  Chinese  mian   •  Italian  pasta     We  will  be  giving  complexi,es  as  a  func,on  of   the  number,  n,  of  noodles  made.  
  • 3. O(log  n)  Algorithm   First,  a  demonstra,on  of  an  O(log  n)  algorithm   for  making  Chinese  mian:       hUps://youtu.be/PHoQN9vQwHE? start=330&end=352          
  • 4. 4096  Mian  in  41.34  Seconds     If  you  go  to   hUp://www.scien,ficpsychic.com/mind/ noodles.html   and  search  for  "4,096",  you  find:      
  • 6. World’s  Record!   If  you  play  the  video,  you  see:   hUps://youtu.be/auhHl5-­‐6VdY? start=20&end=70     We  bet  that  they  did  not  count  the  strands  get   to  4096!  :-­‐)     4096  just  happens  to  be  equal  to  212!    Wow!   WoUa  coincidence!!!!!  
  • 7. O(n)  Algorithm   A  demonstra,on  of  an  O(n)  algorithm  for   making  Italian  feUucine:       hUps://youtu.be/-­‐lMmUf2nqYA? start=330&end=355    
  • 8. Constant-­‐Time  Algorithm   Now  the  instrument  needed  for  a  constant-­‐,me   algorithm  for  making  Italian  pasta:        
  • 9. O(⎷n)  Algorithm   Finally,  a  demonstra,on  of  sorts  of  an  O(⎷n)   algorithm  for  making  short  Italian  pasta:       hUps://youtu.be/1teUhznIYeU? start=230&end=242  
  • 10. Conclusions   We  wrote  the  paper  to  be  an  educa,onal   resource,  to  be  used  as  an  appe%zing  and   mo%va%ng  introduc,on  to  computa,onal   complexity,  …   which  normally  scares  the  s-­‐-­‐t  out  of  students,   to  the  extent  that  they  avoid  all  courses  in  which   it  is  taught.      
  • 11. Conclusions  (cont’d)   We  submiUed  the  paper  for  publica,on  at   SIGBOVIK  in  the  hopes  of  having  a  permanent   place  from  which  educators  and  students  can   download  this  educa,onal  resource.     Also,  it  gives  us  an  opportunity  to  visit   PiUsburgh,  to  visit  the  Bagel  Factory,  to  buy  at   Giant  Eagle  (Jaint  Iggle)  American  products  not   available  in  Canada  and  Italy!  Daniel  used  to   work  for  the  SEI!  
  • 12. Noodle  Dinner  Tonight?   BTW,  aner  the  conference  is  over,  we  were     thinking  of  going  to  eat  dinner  at   Lu  Lu's  Noodles  at  400  S  Craig  St.  What  do  you   think?