Some memory devices have only one set of data lines for both input and output. What is the advantage and

Some memory devices have only one set of data lines for both input and output. What is the advantage and disadvantage of having the input and output lines separately or shared?