TRAINING CATEGORIES
TRAINING PROGRAMS
Difficulty Level: MEDIUM
Problem Statement:
Given a doubly linked list with N Nodes. Write a Java Program to delete all nodes from the list which are prime.
Input:
List = 14->78->7->3->30
Output:
Modified List = 14->78->30
We use cookies to make interactions with our websites and services easy and meaningful. Please read our Privacy Policy for more details.