79433633

Date: 2025-02-12 15:38:12
Score: 2.5
Natty:
Report link

def push(stack,e): stack.append(e) def pop(stack): return stack.pop()

def is_empty(stack): return len(stack)==0 def is_palindrome(arr): stack=[] for i in arr: push(stack,i) for i in arr: if pop(stack)!=i: return False return True

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29616564