Collections and Data Structures
- Q120: How do I sort a collection in EK9?
- Q121: How does PriorityQueue work in EK9?
- Q122: How do I use collect as to aggregate stream results in EK9?
- Q123: How do I flatten nested collections and optionals in EK9?
- Q124: How do I group and aggregate collection data in EK9?
- Q125: How do I use head, tail, and skip to limit streams in EK9?
- Q126: How do I choose the right collection type in EK9?
- Q127: How does collection type inference work in EK9?
- Q128: Why can't I extend List or Dict in EK9?
- Q129: What happens when I access a Dict key that doesn't exist in EK9?
- Q130: Are collections mutable or immutable in EK9?
- Q131: What is the EK9 equivalent of Python list comprehensions?
- Q132: What is the EK9 equivalent of the Java Collections Framework?
- Q133: How do I use tee and uniq in stream pipelines in EK9?
- Q1008: In Rust I use Vec<T> for dynamic arrays. What is the EK9 equivalent?
- Q1010: In Python I use dict for key-value pairs. How do dictionaries work in EK9?
- Q1019: Is an empty List set or unset in EK9? What about an empty Dict?
- Q1158: Iterate over a Dict and print each key-value pair.
- Q1159: Check if a country code is in a list of approved countries.
- Q1160: Add, access, and remove items from a List of strings.
- Q1161: Add entries to a Dict, look up a value by key, and iterate over all entries.
- Q1162: Remove all negative numbers from a list, keeping only positives.
- Q1163: Find the common elements between two lists of names.
- Q1178: Create a Dict, add entries with DictEntry, and look up values with getOrDefault.
- Q1179: Add entries to a Dict using DictEntry -- there is no curly-brace literal syntax.
- Q1365: How do I use a Set for unique values in EK9?