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 7051335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:15:05+00:00 2026-05-28T03:15:05+00:00

The program first does some changes to some objects. But the changes cause the

  • 0

The program first does some changes to some objects. But the changes cause the objects to require additional work. If the objects are just a few, it’s not a big problem. But when they are quite a lot, I don’t want the program to start searching for the objects that need work.

Instead I want the program to memorise the the objects that need additional work and the type of work. The idea is to make the program start working on the objects immediately, without searching for them fist and then analyse them.

It’s true that the additional work can be done along with the first changes, but that may cause problems.

I do have two ideas: use a string variable where all the needed data about the needed work is stored, or use an array. But I don’t know if there are even better algorithms.

So I’m asking for a suggestion about a better or a different algorithm that lets the program do this.

  • 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-05-28T03:15:06+00:00Added an answer on May 28, 2026 at 3:15 am

    A. You can have a queue or array or list of “work to do” or tasks.
    B. When you change an object add it to the queue with a description of the relevant task.
    C. When you finish you first part of the algorithm, go over the queue and perform the tasks.
    D. Go to sleep, cause it was really hard (-:

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

Sidebar

Related Questions

I have a C/ncurses program that I'm debugging/maintaining. This program does ripoffline twice: first,
I don't understand why the first program in JSP is working, but the second
Okay, just learnt LINQ syntax about ten minutes ago, made a first program: public
I have an OpenGL program in which I am doing some augmented reality work.
When my program first installs it places a file in the user’s AppData directory,
Here is the example with comments: class Program { // first version of structure
I wrote my first program almost fifty years ago (yes, coding is still a
I am making my first program with beautifulsoup and my html file has code
I am currently trying to program my first ajax interface using Rails. The application
This program takes the first number in a file and indicates how many numbers

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.