FactSet interview question

Write psuedocode to print all non boundary elementelements in a tree without using extra memory. Write psuedocode to separate cyclic stringstrings from a set of strings. Algorithm to print immediate greater number with same digits. Print greater of two given numbers without using if. Check whether a given linked list is a palindrome without using extra memory.