emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[HW2] Getting Children #158

Closed DHuryn closed 3 years ago

DHuryn commented 3 years ago

Is it ok if we use the "getChildrenMap" method for efficiency? Dr. Choi said we can use the built in methods even though they have maps, but I wanted to confirm we can use this. I am getting the map and immediately converting it to a 2d array without using any map properties beforehand.

DHuryn commented 3 years ago

To clarify, the getChildrenMap(l method from into the Trie class written by Dr. Choi

jdchoi77 commented 3 years ago

@DHuryn yes you can use anything that's built into Trie including the children map. You are just not allowed to create any new map.