Backtracking CSC 172 SPRING 2004 LECTURE 11. Reminders  Project 3 (mastermind) is due before Spring break  Friday, March 5 th 5PM  Computer Science.

Slides:



Advertisements
Similar presentations
Polynomial Time Algorithms for the N-Queen Problem Rok sosic and Jun Gu.
Advertisements

Year 10 ISA Controlled assessment Week starting March 4 th 2013.
CS208 Coursework 2 Neil Ghani Mark Dukes Handin: Friday 11 March, 12pm, Departmental Office.
SEARCH APPLICATIONS David Kauchak CS30 – Spring 2015.
CompSci 100e Program Design and Analysis II March 3, 2011 Prof. Rodger CompSci 100e, Spring
02 March 2012 Saturday Division 2 Section 5 Ladder Round 18.
Lecture 30 CSE 331 Nov 13, To be strictly enforced For the rest of the semester on Fridays SUBMIT your HOMEWORKS by 1:10 PM.
Lecture 38 CSE 331 Dec 7, The last few days Today: Solutions to HW 9 (end of lecture) Wednesday: Graded HW 9 (?), Sample final, Blog post on the.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 (Part 3) Tuesday, 9/4/01 Greedy Algorithms.
COMS W1004 Introduction to Computer Science June 25, 2008.
BNAD 301 Global and Financial Economics & Strategies.
1 Welcome School of Computing and Mathematical Sciences (CMS)
Lecture 31 CSE 331 Nov 16, Jeff is out of town this week No regular recitation or Jeff’s normal office hours I’ll hold extra Question sessions Mon,
ME 221Lecture 171 ME 221 Statics Lecture #17 Section 4.6.
Quicksort CSC 172 SPRING 2004 LECTURE 10. Reminders  Project 2 (polynomial linked-list) is due, tomorrow  Wed, 18 th 5PM  Computer Science Office –
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 1: Introduction & Administration.
Debugging CSC 171 FALL 2001 LECTURE 22. Project 4 Hardcopies are outside of CSB 722 All returns outside CSB 722.
Statistics 350 Lecture 11. Today Last Day: Start Chapter 3 Today: Section 3.8 Mid-Term Friday…..Sections ; ; (READ)
BA271 Week 8 Lecture Database Theory and Queries Dave Sullivan.
COMP171 Data Structures and Algorithm Qiang Yang Lecture 1 ( Fall 2006)
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 (Part 3) Tuesday, 1/29/02 Design Patterns for Optimization.
ME 221Lecture 161 ME 221 Statics Lecture #16 Section 4.6.
General Computer Science for Engineers CISC 106 Lecture 18 Dr. John Cavazos Computer and Information Sciences 3/27/2009.
CSE 116 Introduction to Computer Science For Majors II Carl Alphonce 219 Bell Hall.
Lecture 29 CSE 331 Nov 11, To be strictly enforced For the rest of the semester on Fridays SUBMIT your HOMEWORKS by 1:10 PM.
Department of Aerospace Engineering Sciences: Structures (ASEN 3112) - Fall ) on public web site:
ANNOUNCEMENTS ANNOUNCEMENTS TUESDAY, MARCH 4, 2014 TODAY IS A “B” DAY.
BA271 Week 9 Lecture Three topics: o Upcoming schedule o Query Quiz review o Normalizing a database.
CSE 250 September , A NNOUNCEMENTS No class Friday (9/26) Adrienne’s office hours cancelled 9/26 Homework 2 & 3 due 9/28.
Midterm Review CSE 2011 Winter October 2015.
CS397-CXZ Algorithms in Bioinformatics ChengXiang (“Cheng”) Zhai, Robert Skeel (Department of Computer Science) Nick Sahinidis (Department of Chemical.
Back Tracking Project Due August 11, 1999 N-queens: –A classic puzzle for chess buffs is the N- Queens problem. Simply stated: is it possible to place.
NxN Queens Problem Q- -- -Q Q- -- -Q Q- -- QQ -- Q- Q- Q- -Q QQ -- -Q -- -Q Q- -Q -Q Q- Q- -Q Q- -- Q- -- QQ Q- -Q -Q -Q -- QQ -- -Q START.
University of Colorado - Intro to Aerospace Structures (ASEN 3112) - Fall 2015 HW 2-3 and Midterm Exam HW assignments posted on public web site and D2L.
CS-2851 Dr. Mark L. Hornick 1 CS-2852 Data Structures Dr. Mark L. Hornick Office: L341 Phone: web: people.msoe.edu/hornick/
Department of Computer Science 1 Last Class on Chapter 6 1. HW 1 and HW 2 2. Greatest Common Devisor 3. Sudoku App 4. Chapter 6 Summary 5. Chapter 6 Questions.
Please snarf the code for today’s class. Then think about the famous 8-Queen’s Puzzle. The question is: is there a way to arrange 8 queens on a (8x8) chessboard.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Ver Chapter 5: Recursion as a Problem-Solving Technique Data Abstraction.
Department of Computer Science 1 Recursion & Backtracking 1.The game of NIM 2.Getting out of a maze 3.The 8 Queen’s Problem 4.Sudoku.
Computer Science Day 2012 Friday May 25, 13:15-15:45, The Large Auditorium Welcome The 'Lecturer of the Year' award
Lecture 23: November 30, 2011 Creative Ideas Enabled by Computer Science CS 104 – Fall 2011 Exploring Computer Science.
4/25/2013 CS152, Spring 2013 CS 152 Computer Architecture and Engineering Lecture 22: Putting it All Together Krste Asanovic Electrical Engineering and.
Chapter 6 Questions Quick Quiz
Welcome to the Community Advisory Board Meeting Second Life (SL) Meeting #2 September 28, 2015.
N Queen Puzzle Backtracking Algorithm 1. Starting from first row, loop through all the positions in this.
CSC 212 Sequences & Iterators. Announcements Midterm in one week  Will cover through chapter 5 of book  Midterm will be open book, open note (but, closed.
Hon Wai Leong, NUS (CS5234, 16 Oct 2007) Page L09.1 Copyright © 2007 by Leong Hon Wai UIT2201 Spring 2010 Notices and Reminders.
Backtracking & Brute Force Optimization Intro2CS – weeks
Class 9_1 Today: More modeling work session Extension: Computer model due as a HW assignment on Tuesday, March 11.
CSCU elections voting is available over the next 3 days during the following times: 10:00am - 3:30pm Monday, Oct. 1 9:30am - 3:30pm Tuesday, Oct. 2 9:30am.
© 2006 Pearson Addison-Wesley. All rights reserved 6-1 Chapter 6 Recursion as a Problem- Solving Technique.
Honors Algebra II Please take out your homework and check on your solution sheet 1-46 to 1-52 and methods and meanings for section Please record.
1 CSC 281 Discrete Mathematics for Computer Science Dr.Yuan Tian Syllabus.
NHS Meetings Calendar All Meetings are at 2:20pm unless otherwise stated This logo denotes a General Meeting. This means that ALL MEMBERS must.
CS 225 Discrete Structures in Computer Science Winter, 2014: 157 Spring, 2014: 151 Summer, 2014: Two sections 97 and 53.
CompSci 101 Introduction to Computer Science November 11, 2014 Prof. Rodger CompSci 101 Fall Review for exam.
Coming Up: Today: Review Quiz 2 Lecture on Section 2.4: Word problems! NOTE: This homework is due at the beginning of the next class session. Coming up.
Daily Math Review September 2-6, Monday Solve the following problems with strategies and/or algorithms 5, = 9, = 3, =
9 March 2004ECON 130 (003) Spring University of Hawai‘i at Mānoa Department of Economics ECON 130 (003): Principles of Economics (Micro)
ICS 151 Digital Logic Design Spring 2004 Administrative Issues.
CSE 143 read: 12.5 Lecture 18: recursive backtracking.
MAT 150 Unit 2-3 Part 2: Power Functions and Variation.
Make Your Own Quiz.
Topic 14 Algorithm Families.
Computing session 3.
CSC 172 DATA STRUCTURES.
Administrative Issues
Algorithms CSCI 235, Spring 2019 Lecture 8 Recurrences III
AME Spring Lecture 11 - Thrust and aircraft range
Data Structures & Programming
Presentation transcript:

Backtracking CSC 172 SPRING 2004 LECTURE 11

Reminders  Project 3 (mastermind) is due before Spring break  Friday, March 5 th 5PM  Computer Science Office – 7 th floor CSB  Read Sections 7.7 & 10.2 (Backtracking)  Quiz next Tuesday  Midterm Tuesday 3/2  Review Session Today 5PM – Jon Shor – 726 CSB

BACKTRACKING  Backtracking is a recursive strategy to explore possible solutions.

Design Example  The “N-queens” problem  Given an n-by-n checkerboard place n queens on the board in such a way that no two queens are mutually attacking each other.  Issues:  What data structure?  What algorithm?