LinkedList in Java
Can you explain me LinkedList(java) in simple way as possible? Where it used? Why it used? Benifits of it.
You can think of LinkedList as small chunks of memory. In contradiction to Array, array is contiguous memory allocation but LinkedList can be discrete allocation. LinkedList is a set of nodes that are connected by a link. Node of a LinkedList contains two things. First- It contains the data or value. Second- It contains the address/pointer of Next node. First node of a LinkedList is called head node and last node is tail. Address of head is contained in another variable. A LinkedList is accessed by it's head node.
Python — File Handling
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python
Question is write a c program to print prime numbers up to n and print the largest number in array.
Question - Java: Pyramid layers