Skience interview question

Explain difference between slice and splice