Actually your expected time O(L*(1+$\frac{m}{n}$) )
where (1+$\frac{m}{n}$) always give more than 1 ===>O(L)
you have m slots and n keys ===> use m%n as hashing algorithm
where collision occurs add as a node in linked list
while retriving, O(1) you can go that slot, but there you have chain of values(Linked List)
you need to search in Linked List which size is L in worst case ===>O(L)