Question: Solve this question with (java) language Instructions from your teacher Write a subroutine that will count the number of zeros that occur in a given
Instructions from your teacher Write a subroutine that will count the number of zeros that occur in a given linked list of ints. The subroutine should have the head as parameter and should return a value of type int. Note: Re implement addFirst(E e) method before using it as stated in the lecture Hint: When calling getElement0 you should use explicit casting in order to convert the returrn number to Integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
