SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 132 forks source link

Reverse a linked list in Cpp using recursion #374

Closed KAUSHIK-DEKA closed 2 years ago

KAUSHIK-DEKA commented 2 years ago

Enter your question -

Reverse a linked list using recursion in c

Enter link to the question(if question belongs to any online platform) -

https://www.geeksforgeeks.org/recursively-reversing-a-linked-list-a-simple-implementation/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Your answer Linked list. Data Structure.

KAUSHIK-DEKA commented 2 years ago

Can u assign this to me

SarthakKeshari commented 2 years ago

@KAUSHIK-DEKA, Since its a C++ repo. C solutions won't get accepted.

SarthakKeshari commented 2 years ago

@KAUSHIK-DEKA, Kindly let me know if there are any queries or shall I close this issue?

KAUSHIK-DEKA commented 2 years ago

@KAUSHIK-DEKA, Since its a C++ repo. C solutions won't get accepted.

I have change the code to cpp. I have created the pull request. You can have a look.

SarthakKeshari commented 2 years ago

@KAUSHIK-DEKA, Kindly wait for the issue to assigned before creating the PR as per the repo guidelines