<p>1. Modify the Deck class to keep track of the current size ofthe deck using</p><p>an instance variable. Does this change the run-time efficiencyof the size<br/>operation? Do a bit of research
<p>Algorithm assignment</p><p>Write a program TwoSum.java that reads in a sequence of integersfrom standard input from standard input, and counts the number ofpairs that sum to exactly 0. How many instructions