Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

480
Visualizações
Find the distance between 2 stations and get all the stations that join the stations

enter image description here

Here is the metro Images as you can see

So what i am thinking to make a metro app so i found that how to find stations between two stations. So i found that from some answers that djkshrtas algorithm i can get distance and station reach list of stations from one point to another. But didn't found that how can i implement it.

As my thinking i have to add all stations in different arrays account to line

const red_stations = ["Miyapur","JNTU College","KPHB",...,"L.B Nagar"]
const blue_line_stations = ["HITECH",...,"NOGOLE"] 

After that i am stuck as how can i combine these lines to find station as in the djkshrtas we can work on single array. Please let me anyone can explain me and provide me a logic in the javascript.

How can i find stations between Miyapur to RTC green_line as show in the map. Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda