FazeelUsmani / Amazon-SDE-Preparation

This repository includes all the interview preparation questions for Amazon SDE role
https://practice.geeksforgeeks.org/batch/Amazon-Test-Series
1.12k stars 291 forks source link

Create 09 linearProbing.cpp #71

Closed Juro221 closed 8 months ago

Juro221 commented 3 years ago

We compute the position where arr[i] should be placed and if it is already taken we look at the next position. Time complexity : O(n)

FazeelUsmani commented 8 months ago

This PR has not been updated for a while, closing it. Thanks!