Code Monkey home page Code Monkey logo

assignment-5-customarraylistapp's Introduction

Assignment 5

CustomArrayList Implementation - Assignment #5

This GitHub repository contains a Java implementation of the ArrayList data structure from scratch as part of Assignment #5. The focus of this assignment is on algorithms and coding a custom ArrayList, without referring to Java's built-in ArrayList source code.

Assignment Overview:

In this assignment, we implement all the abstract methods defined in the CustomList interface via the CustomArrayList class. These methods include adding elements to the list. An essential feature is that the backing Object array doubles in size whenever it becomes full. For example, when adding the 11th element, the array grows from 10 to 20 elements in size, and so on.

The assignment also includes a testing component. We've created a CustomListApplication class with a main method for testing the CustomArrayList class. You are encouraged to add more than 10 elements to your custom list and validate the functionality by ensuring that all the elements you've inserted exist in your data structure.

Key Features:

Custom implementation of the ArrayList data structure. Dynamic resizing of the backing array to accommodate more elements. A test application for verifying the functionality. Usage:

To use this custom ArrayList implementation, follow these steps:

Clone or download the repository. Compile the code using your preferred Java development environment or command line. Run the CustomListApplication class with the main method to test the functionality. Customize the code as needed for your specific use case. Contributing:

We welcome contributions to this project. If you have ideas for improvements or additional features, feel free to submit pull requests.

image

assignment-5-customarraylistapp's People

Contributors

tjackswebdev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.