הפונקציות של היום 07.09.2025

public static void printList(Node<Integer> lst) {                 while (lst != null) {                                 System.out.print(lst.getValue()+ " --> ");                                 lst = lst.getNext();                 }                 System.out.println("null"); }                 public static Node<Integer>…