title: how to find duplicate and unique string entries using Hashtable
body: <p>Assume I'm taking input a string from command line and I want to find the duplicate and unique entries in the string by using Hashtable.</p>
  
  <p>eg:</p>
  
  <p>i/p:</p>
  
  <p>hi hello bye hi good hello name hi day hi</p>
  
  <p>o/p:</p>
  
  <p>Unique elements are: bye, good, name, day</p>
  
  <p>Duplicate elements are: </p>
  
  <p>hi 3 times</p>
  
  <p>hello 2 times                        </p>