function return sum of all element smaller than and equal to Kth smallest element
def ksmallestElementSumRec ( root , k , temp_sum ) : NEW_LINE INDENT if root == None : NEW_LINE INDENT return NEW_LINE DEDENT DEDENT