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

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Functional Programming
  3. Functional Structures
  4. Tree manager
  5. Discussions

Tree manager

Problem
Submissions
Leaderboard
Discussions

Sort 8 Discussions, By:

recency

Please Login in order to post a comment

  • lutherblunk
    3 days ago+ 0 comments

    Is this type of algorithm helps us to PPC Management Agency Hampshire for our firm? I want to automate my work through robots.

    0|
    Permalink
  • daniel2292
    1 year ago+ 0 comments

    Data is graphically represented in PeopleSoft Tree Manager to indicate a hierarchy for solve my online classes the trees you've established for hierarchical information can be used by other areas of the system, such as reports, ChartField combination editing, OLAP, summary ledgers, or security.

    0|
    Permalink
  • alexr007
    3 years ago+ 0 comments

    task can be solved without zipper and everything is immutable just put the tree and navigation into two different structures

    final case class Node(value: Int, children: Vector[Node] = Vector.empty)
    final case class PathNode(link: Node, pos: Int, parent: Option[Node])
    
    0|
    Permalink
  • di98jgu
    3 years ago+ 0 comments

    Learning something new is why I like this place. I did not know about zipper trees.

    But this was a very difficult task in the wrong I my mind. Solving the problem was the easy part. Geting it to pass within the allowed time frame was an entire different story.

    If you try to solve this task with erlang and you have issues with timeout, try search for

    "Erlang: Read from an input stream in a efficient way"

    Using module string will not work, use binaries. I also had to write my own split line method for the operations.

    Good luck.

    0|
    Permalink
  • Eberhofer
    3 years ago+ 0 comments

    Thanks for all the pointers to the Zipper. That helped a lot. Took me a while to debug and get all the details right but that was fun!

    0|
    Permalink
Load more conversations

Need Help?


View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy