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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:02:19+00:00 2026-05-11T00:02:19+00:00

I would like information on algorithms that can help identify commonality and differences between

  • 0

I would like information on algorithms that can help identify commonality and differences between sets of overlapping data.

Using stackoverflow’s tag system as an example:

Let’s say this question has been given 5 tags. Let’s say there are 1000 other questions that have at least one of these tags. Of these 1000 questions, how many of these questions have tags in common that my original post does not have?

Another more simple way of describing this is an auto-suggest tagging system :

‘You tagged your question with [5 tags I selected]. Other similiar questions were tagged with [list of tags that might be of interest]. where [list of tags that might be of interest] are frequently occuring tags that aren’t in my orginal list.

Code examples in c# if possible 🙂

  • 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. 2026-05-11T00:02:20+00:00Added an answer on May 11, 2026 at 12:02 am

    I don’t know of any specific algorithms or data structures, but I could suggest a basic way of handling this:

    Assumption: each entry has five unique tags.

    • Collect all entries containing any one of the five tags (no duplicates).
    • For each entry in the list, use an associative array (hashtable) for each tag, incrementing the value.
    • For each entry in the array, append the tag name into that array’s entry index.

    In (sloppy) pseudo code, use two loops (if possible):

    for each entry     if any tag in original_tags         tag_list[tag]++ end  for next in tag_list     tag_count[tag_list[next]] += next end   

    This should produce a sparse array of concatenated tag names (ok, I didn’t include a separator, but hey it’s pseudo code :-). Keep the highest number, then iterate backward for the best suggestions.

    (Cache to optimize, but watch for updates)

    Paul.

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

Sidebar

Ask A Question

Stats

  • Questions 137k
  • Answers 137k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Found out the problem. The docs on Subsonic appears to… May 12, 2026 at 7:19 am
  • Editorial Team
    Editorial Team added an answer I solved it now, i have to change the width/height… May 12, 2026 at 7:19 am
  • Editorial Team
    Editorial Team added an answer There are 4 possibilities I can think of: Some security… May 12, 2026 at 7:19 am

Related Questions

I have a list of opaque objects. I am only able to calculate the
Overall Plan Get my class information to automatically optimize and select my uni class
I have a bit of a strange question. Can anyone tell me where to
I do not have any experience with programming fractals. Of course I've seen the

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.