Skip to content

sefinehtesfa34/LinkedListHackerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

LinkedListHackerRank

Online HackerRank problem solving challenges This challenge is part of a tutorial track by MyCodeSchool

You are given the pointer to the head node of a sorted linked list, where the data in the nodes is in ascending order. Delete nodes and return a sorted list with each distinct value in the original list. The given head pointer may be null indicating that the list is empty. Function Description

Complete the removeDuplicates function in the editor below.

removeDuplicates has the following parameter:

SinglyLinkedListNode pointer head: a reference to the head of the list Returns

SinglyLinkedListNode pointer: a reference to the head of the revised list

About

Online HackerRank problem solving challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages