We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • Hackerrank Home
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. Tree: Preorder Traversal
  2. Discussions

Tree: Preorder Traversal

Problem
Submissions
Leaderboard
Discussions
Editorial

    You are viewing a single comment's thread. Return to all comments →

  • tsmackinlay
    8 months ago+ 1 comment

    Is the typescript code supposed to have everything except the preOrder function predefined, like the starter code for other languages?

    Currently it requires you to define the BinaryTree data type and convert the input string to a Binary Tree.

    6|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature