Created
          May 2, 2020 13:17 
        
      - 
      
- 
        Save Mahdhir/4c7e6da9fa99d26e9f523f9ea076f578 to your computer and use it in GitHub Desktop. 
Revisions
- 
        Mahdhir created this gist May 2, 2020 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ Node search(int key){ Node temp = head; while(temp != null){ if(temp.key == key){ return temp; } temp = temp.next; } return null; }