Did the pilgrims share corn on the cob pumpkin pie and sweet potatoes or yams with the Indians on the first thanksgiving?

No. The corn we know as corn on the cob was not introduced to the Americas until later. Also the Pigrims did have pumpkin, but not in a pie. Instead, they boiled the pumpkin. Sweet potatoes and yams were not likely to have been served either since they were not introduced until later. Squashes, berries, rye flour cakes sweetened with either berries or honey would be served. Corn was ground into flour or the corn was mixed with ash and then boiled in stews.