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

Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
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
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 

Recently uploaded (20)

Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
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
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 

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?