A tree is the correct answer because it is a data structure that consists of nodes in a parent/child relationship. In penetration testing, understanding trees can be beneficial when evaluating structured data or hierarchies such as file systems or organizational charts. An array is a collection of items stored at contiguous memory locations and does not represent hierarchical data. A JSON object is a data format that typically represents data in a key-value pair, but does not inherently define a parent-child hierarchy. CSV is a simple file format used to store tabular data, such as a spreadsheet or database but does not define hierarchical structures.
Learn More
AI Generated Content may display inaccurate information, always double-check anything important.
What are the different types of trees used in data structures?
How do trees differ from other data structures like arrays or linked lists?
In what scenarios are trees particularly useful in penetration testing?