This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.myorg.agodaexercise; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
/** | |
* Flattens an array of arbitrarily nested arrays of integers into a flat array of integers. | |
* <p/> | |
* @author koti | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.myorg.agodaexercise; | |
import org.junit.Assert; | |
import org.junit.Test; | |
/** | |
* Tests FlattenIntegerArray | |
*/ | |
public class FlattenIntegerArrayTest { |