Extremely basic concept!. But, sometimes importance of this concept is ignored becase of several reasons

  • Easy-to-use with libraries and other functions.
  • Easy-to-use becase of language characteristics.
  • To save typing efforts.
  • ...

But, to increase readability of code, it's very important keeping fundamental concepts and following use-cases of each data structure.

  • Array: Order is matter. And duplication is allowed.
  • Set: Order is NOT matter. And duplication is NOT allowed.
블로그 이미지


댓글을 달아 주세요