Add OS X/Swift and Python implementations of the Eight Queens problem

This commit is contained in:
Donald Burr 2015-05-28 20:31:49 -07:00
parent 6130affabf
commit e609b323a2
5 changed files with 452 additions and 0 deletions

View file

@ -0,0 +1,19 @@
//
// Queen.swift
// EightQueens
//
// Created by Donald Burr on 5/27/15.
// Copyright (c) 2015 Donald Burr. All rights reserved.
//
import Foundation
class Queen {
var row: Int
var column: Int
init(forRow: Int) {
row = forRow
column = 0
}
}