Expedia Group Interview Question

Insert value in linked list at given position. How would you test it?