Hey guys , I am having a problem with my code , consider this problem:


Write a method compressDuplicates that accepts a stack of integers as a parameter and that replaces each sequence of...