top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to implement circular linkedlist in C++?

+2 votes

How to create circular linked list in C++

posted Sep 16, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Following is the C implementation, let me know if this does not work out.

answer Sep 16, 2014 by Salil Agrawal
Similar Questions
+1 vote

Can someone help me with the complete code C/C++.

+3 votes

I am in the middle of a project where now I have to add Google Authenticator into it. The problem is that the project is entirely in C++. I haven't found anything about Google Authenticator in C++. Is there a way to do it?

+8 votes

Write a thread safe data structure such that there could be only one writer at a time but there could be n readers reading the data. You can consider that incrementing or decrementing a variable is an atomic operation. If more than one threads try to write simultaneously then just select one randomly and let others wait.