Skip to content

Instantly share code, notes, and snippets.

View gotidhavalh's full-sized avatar

Dhaval Goti gotidhavalh

  • Surat, India
View GitHub Profile
@gotidhavalh
gotidhavalh / MyClass.java
Last active December 10, 2018 10:13
Flatten an array of arbitrarily nested arrays of integers into a flat array of integers in Java
package com.citrusbyte;
import java.util.ArrayList;
import java.util.List;
public class MyClass {
public static void main(String[] args) {
/** Array to be flatten **/