ESc101 Laboratory Assignment Thursday of Week of 20/09/04 The Assignment consists of THREE programs. USE OF ARRAYS IS NOT ALLOWED. NOTE: Use objects of StringBuffer Class. (String Class represents fixed-length, immutable character sequences. In contrast, StringBuffer Class represents growable and writable character sequences.) 1) You are given a string. Check if it is a palindrome. A string is a palindrome if its the same if read from left to right or right to left. For example, the string "malayalam" is a palindrome. 2) You are given 2 strings str1 and str2. Check if str1 is a substring of str2. str1 might be a contiguous or non-contiguous substring of str2. For example, both, "egg" and "brian" are substrings of "borrowingandbegging". 3) Write a program to count the number of ways n objects can be put in 5 indistinguishable containers. User will input n.