I have a List of type <List> as below
private List<List<String>> strListOfList = new ArrayList<List<String>>();
strListOfList = [[A], [B], [C, D, E, F, G], [H, I, J, K, L]]
I need to convert this to a List of String as below
List<String> strList = new ArrayList<String>();
strList = [A,B,C,D,E,F,G,H,I,J,K,L]
Can someone help me how can i achieve this? I tried different solutions. But it is not working as expected.