Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7852479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:25:39+00:00 2026-06-02T19:25:39+00:00

Google search did not yield any ideas or solutions neither did SO search.( One

  • 0

Google search did not yield any ideas or solutions neither did SO search.( One post existed with same title but different motive).

Are there well known algorithms, patterns to resolve dependencies and build a hierarchy of objects.

  1. It must be able to build a dependency output tree
  2. Handle Circular dependencies

note: I can build one referring to exiting products build with to do this but knowing what is going to happen, how it should happen I will finish it sooner than other solutions.

Scope of this algorithm would be java script dependency manager, Family tree builder and many more things that may build tree or hierarchy structure from specification. For example taking javascript dependency manager here is how the algorithm would work.

Script a dependends

 1. script b 
 2. script c.

and

Script b depends

 1. Script x 
 2. Script y

and

Script x depends

1. Script J

so here is the order of loading the scripts

Script j

  Script a

  Script x, Script y

          Script b
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:25:40+00:00Added an answer on June 2, 2026 at 7:25 pm

    You are looking for topological sorting. You will find lots of information about this on the internet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I search google for this question but i did not find any solution for
I got an unaligned memory accesses not supported error and did a Google search
I did a google search and found some forum threads explaining it won't work
My google search skills have failed me, and I am not a database expert
somehow couldn't find this with a google search, but I feel like it has
I cross-posted in Javaranch too. I did my due diligence by doing Google search.
I'm trying to place a search in google dictionary but the url contains a
I know this is a trivial question. But I have search all over google
I searched Google search APIs and didn't find a way to get a website
How can I get Google search results from inside a program? I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.