Algorithms and OOD (CSC 207 2013F) : EBoards

CSC207.01 2013F, Class 26: Implementing Lists with Arrays



Exam Questions

Sample comparator

public class Alphabetic implements Comparator<String> {
     public int compare(String s1, String 2) {
         return s1.compareTo(s2);
     } // compare
// Alphabetic

Status of our List Interface

Implementing Lists with Arrays - The Basics

Implementing Lists with Arrays - Some Complications

Copyright (c) 2013 Samuel A. Rebelsky.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.