doca
Sao Paulo, Sao Paulo, Brazil
 
 
Currently Offline
Featured Artwork Showcase
Metallica
⠀⠀
import⠀java.util.ArrayList;
import⠀java.util.HashMap;
import⠀java.util.List;
import⠀java.util.Map;

public class DataStructure {
⠀⠀⠀⠀public static void main(String[] args) {
⠀⠀⠀⠀⠀⠀⠀⠀List<Map<Integer, List<String>>> complexList = new ArrayList<>();
⠀⠀⠀⠀⠀⠀⠀⠀for (int i = 0; i < 10; i++) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Map<Integer, List<String>> complexMap = new HashMap<>();
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀List<String> stringList = new ArrayList<>();
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀for (int j = 0; j < i + 1; j++) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀StringBuilder stringBuilder = new StringBuilder();
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀for (int k = 0; k < j + 1; k++) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀stringBuilder.append((char) ('A'⠀+⠀k));
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀stringList.add(stringBuilder.toString());
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀complexMap.put(i, stringList);
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀complexList.add(complexMap);
⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀⠀⠀⠀⠀for (Map<Integer, List<String>> map : complexList) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀for (Map.Entry<Integer, List<String>> entry : map.entrySet()) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀System.out.print("Key: " + entry.getKey() + ", Values: ");
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀for (String str : entry.getValue()) {
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀System.out.print(str⠀+⠀" ");
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀System.out.println();
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀⠀⠀⠀⠀}
⠀⠀⠀⠀}
}
sadmaaty 27 Feb @ 6:38pm 
walter blanco
ZaperStyles 27 Feb @ 6:38pm 
walter blanco manito
𝒈𝒐𝒎𝒆𝒔 24 Feb @ 5:29pm 
dev java? deve da bastante
Aphex Twin da Silva 12 Jan @ 4:37pm 
cara coda em java, ok mano quer um pix?
lucão 8 Nov, 2024 @ 3:38am 
faltou girar pra ficar mais bonito :deadly_danger:
ieK武器 1 Oct, 2024 @ 5:02pm 
tudo de bom pra ti também! <3 :SayouriNeko::CocoCat: