What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-05 00:14:04
hashmap vs linkedhashmap
Main difference between HashMap and LinkedHashMap I remember is that LinkedHashMap maintains insertion order of keys, On the other hand HashMap doesn't maintain any order or keys or values. Also LinkedHashMap requires more memory than HashMap because of ... Add solution -
Python 2021-09-28 17:40:04
delete a node in doubly linked list python
Delete a node in a Doubly Linked List If node to be deleted is head node, then change the head pointer to next current head. Set next of previous to del, if previous to del exists. Set prev of next to del, if next to del exists. Add solution -
Other 2021-09-27 15:05:02
write a function that will concatenate two circular linked list producing one circular linked list
#include <stdio.h> #include <stdlib.h> struct node { int data; struct node *next; }; struct node *even = NULL; struct node *odd = NULL; struct node *list = NULL; //Create Linked List void insert(int data) { // Allocate memory for n... Add solution -
Other 2021-09-27 07:59:03
linked list menu driven program in c
#include<stdio.h> #include<conio.h> #include<process.h> struct node { int data; struct node *next; }*start=NULL,*q,*t; int main() { int ch;  ... Add solution -
Java 2021-09-26 10:23:06
how to get information from any file extension in java
import java.util.LinkedList; import java.io.File; public class getFileExtention{ public static String[] getExt(File path, String extentionType) { String [] g = path.list(); //We need to convert it into a linkedlist for //adding whatever we w... Add solution