Zynappse interview question

1. Sacks Completion Test 2. 4-5 easy programming problems. You can either answer with an actual code, or only the algorithm (pseudocode) to solve the problem. What is important is you can demonstrate the logic of how it would be solve. If you will answer with an actual code, you can use any programming language that you want: Javascript, C, C++, java, etc., BUT you CANNOT use predefined functions or method like Array.sort()