Backtracking - PowerPoint PPT Presentation

About This Presentation
Title:

Backtracking

Description:

Project 3 (mastermind) is due before Spring break. Friday, March 5th 5PM ... on the board in such a way that no two queens are mutually attacking each other. ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 5
Provided by: thaddeusf
Category:

less

Transcript and Presenter's Notes

Title: Backtracking


1
Backtracking
  • CSC 172
  • SPRING 2004
  • LECTURE 11

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

3
BACKTRACKING
  • Backtracking is a recursive strategy to explore
    possible solutions.

4
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?
Write a Comment
User Comments (0)
About PowerShow.com