static allocation def
programs needing a FIXED amt of memory space & continually reusing it till program terminates
dynamic allocation def
data needed by program not alw fixed size, program will req for more memory whenever required
static > dynamic
dynamic > static
more efficient memory use (memory can be allocated / de-allocated as needed during runtime as data structure grows / shrinks so it only uses as much memory as necessary while static might not use all memory that’s allocated)
disadvantage / problem of dynamic data structure