CSC 374: Computer Systems II: 2017 Winter
Assignment #2

Last Modified 2017 January 23

More

HashMap

More

Fibonacci Sequences

May be the most popular coding question. It's very easy to write and the same time it may be a reason to say you "No".

More

Merged integer sorted arrays

One of classic problem using binary search approach.

More

Merged sorted array

One of classic problem using binary search approach.

More

Get average speed of fastest five cars 

Classic problem which may show your understanding different ways to solve the problem, using of data types,  knowledge of Java application design, and knowledge of Java 8

More

System.arraycopy() vs. Arrays.copyOf() in Java

The difference is that Arrays.copyOf does not only copy elements, it also creates a new array. System.arrayCopy copies into an existing array.

More

Rotate Array in Java

Classic problem which may show your understanding different ways to solve the problem, knowledge of O notation for memory and for productivity

More

Java coding test: String/Array/Collections

An algorithm problem's input is often a string, array or collections. You may write the code on the white board. If you know better way to write code in Java 8 it give you additional advantages. 

More