python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
LinkedList That Accept Any Type Of Object At Same Time
Is it possible to implement a linkedlist that accept any type of objects at same time ?
for example : list.add(int) , list.add(float) , list.add(object1) , list.add(object2)
as you can see i added dif...
Islah Amine
Votes: 0
Answers: 1
What is the cause of the memory leak in c?
I was creating a linked list in c and I came across this memory leak. Valgrind is telling that the source of the problem is on line 15 but I still can't see the problem. I feel very stupid not knowing...
dechire
Votes: 0
Answers: 2
Can I do a peep operation at any position in stack using linkedlist in the c language?
All my stack operations are working well except peep operation at any given position. My code is terminating automatically.Please check my code.
void peep()
{
if (top==NULL)
printf ("...
Jogesh
Votes: 0
Answers: 1
Is there any way to join two Java LinkedLists in O(1)?
I am mostly looking for someone to confirm the following is correct.
It is trivially obvious that joining two linked lists (singly or doubly) into one linked list "tail to head" can be done...
Stephen Nicholas
Votes: 0
Answers: 3