Adding elements of second LinkedList to first LinkedList from a specified Index/Position

 

import java.util.LinkedList;

public class LinkedListAddAllToIndex {

public static void main(String[] args) {
LinkedList<String> ll = new LinkedList<>();
LinkedList<String> ll1 = new LinkedList<>();

//addding element to linkedlist ll
ll.add("Ishu");
ll.add("Nishu");
ll.add("Naina");
ll.add("Nishu");
ll.add("Shiksha");
System.out.println("Before removing element, the LinkedList is :");
System.out.println(ll);
//adding elements to linkedlist ll1
ll1.add("Suhani");
ll1.add("Neha");
ll1.add("Kayna");
//will add ll1 from 3rd index to ll
ll.addAll(3, ll1);
System.out.println("After adding both lists");
System.out.println(ll);
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...