## Data Structure Lab 2 - Solutions

1. Write a short Java function, isOdd that takes an int i and return true if and only if is odd. Your function cannot use the multiplication, modulus, or division operator, however.

2. Write a short Java program that outputs all possible strings formed by using the character ‘c’, ‘a’,’r’, ‘b’, ‘o’ , and ‘n’ exactly one.