Yes, they can be used interchangeably, but they usually mean separate things. A type of data is something like an integer, or string. While a data structure usually refers to a linked list or tree of integers or strings.
It depends on what kind of data. If you want to store integer numbers use short, int, long. If you have numbers with decimal point use float, and double. If you want to store characters use char. And...
A data structure is a collection of more than one elementary item, in some kind of aggregate organization. An array is a type of structure where more than one item of the same type are arranged...
There are many types of trees: - binary trees - binary search trees - B+ trees - red-black trees - AVL trees - suffix trees - and much more.... Each have different rules for adding a new element,...