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

  • SEARCH
  • Home
  • 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 8525515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:00:03+00:00 2026-06-11T08:00:03+00:00

My intuition and assumption is whenever we can’t use greedy, then A* will be

  • 0

My intuition and assumption is whenever we can’t use greedy, then A* will be the way to go, but I am not 100% sure. I need some more examples and patterns on how to recognize and spot A* algorithm.

Can someone give some special extreme cases that when you first see it and you know this wouldn’t be greedy or it has to be A* without even bother trying.

  • 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-11T08:00:05+00:00Added an answer on June 11, 2026 at 8:00 am

    Normally the term greedy is used to describe algorithms that do not backtrack. These are algorithms that make a choice by maximizing a heuristic (typically a fairly “local” one), and then do not ever revisit that choice. Think of a greedy algorithm as someone who picks a cake and then eats it right away, instead of putting it to one side and investigating whether another cake might be better.

    By contrast, A* is a backtracking algorithm: it explores choices, possibly in some depth, but then is capable of abandoning these choices later and trying other possibilities.

    So if your problem has “dead ends” (local maxima) where no further progress towards a solution is possible, then greedy algorithms are most likely not suitable. But that doesn’t necessarily mean that A* and its variants are your only alternatives. There are many other types of search algorithm that use different techniques to escape from dead ends: simulated annealing, Monte Carlo tree search, tabu search, particle swarm optimization, …

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

Sidebar

Related Questions

I know non-blocking receive is not used as much in message passing, but still
I've been hunting for a long time for this, but despite my intuition that
This question is meant to apply to interfaces in general, but I'll use AS3/Flex
I know I can do things like <input name=foo[]> , but is it possible
This is not a specific code-based question. I'm looking for some intuition here with
What is the best way to implement a tree structure (generic - not binary)
I understand how powerful windbg can be at debugging, but when is an appropriate
My intuition says that ontology engines like Triplestore or Seseme are going to be
I am having problem developing intuition about the probabilistic interpretation of logistic regression. Specifically,
Why is it counter intuitive? /(?<!\d)\d{8}(?!\d)/ , here (?<!\d) comes first , but called

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.