Coder Social home page Coder Social logo

kountourispanagiotis / aueb-mini-projects Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

Coding Factory @ AUEB - Java mini Projects - Chapter 10

Java 100.00%
booking-system filtering java kadanes-algorithm shallowcopy subarray-sum tictactoe-game

aueb-mini-projects's Introduction

aueb-mini-projects

Athens University of Economics and Business (AUEB)

Coding Factory @ AUEB Java Projects. Chapter 10. Mini-Projects

Projects info

THEATER SEAT MANAGEMENT APP

Theater booking management application. Uses characters for columns and numbers for rows. Example: Seat C2 is at second row , third column. The whole theater has 30 rows and 12 columns. Has methods for booking a row if it is not already booked. Method for booking cancellation for booked seats.

TIC-TAC-TOE APP

A simple Tic Tac Toe App. Explanation: Two players play in turns and mark a 3x3 Array with X and O. One symbol for each player. Winner is the one that manages to fill three consecutive elements with his symbol in any dimension of the Array (horizontally,vertically,diagonally). Input with two int, first for row second for column. example: 2 3 -> second row , third column.

MAXIMUM-SUM-SUB-ARRAY APP

Finds the maximum sum subArray of a given Array. Popular algorithm called Kadane's algorithm. It is based on the simple notion that , while using a for loop to examine the whole Array once (in order to not increase the time complexity), because each next possible Array we examine has next number of the Array added to it , we don't need to recalculate. We just examine if the past max Array , when having the next Array element added to it . . . if it has bigger sum than the previous.

INT-FILTERING APP

Disclaimer : Due to random generation of int it might not find adequate filtered group on the first run !

Int filtering Application.(Firsts makes a file with 49 random int). Then reads int numbers from that file with values from 1 to 49. Creates all possible combinations of 6 numbers and filters them so that they fill the following criteria: 1) Consists of max 4 even numbers. 2) consists of max 4 odd numbers 3) consists at most two consecutive numbers. 4) consists at most three numbers with same last digits. 5)Has at most 3 numbers in same range of magnitude.

SHALLOW-COPY-EXAMPLE APP

Exhibition application for shallow-copy and deep-copy. Shallow-copies a two-dimensional Array to a second one. Make changes to the second one and prints on console (std output) the effect on the first one. Deep-copies again the first two-dimensional Array to a third one. Make changes to the third one and prints on console the effect on the first one.

Installation

To install and run the projects, follow these steps:

  1. Clone the repository to your local machine
  2. Run each project

aueb-mini-projects's People

Contributors

kountourispanagiotis 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.