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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:17:54+00:00 2026-06-07T20:17:54+00:00

I came across a G+ post where someone shared: If A B C D

  • 0

I came across a G+ post where someone shared:

If
  A B C D E F G H I J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z

Equals
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Then
  K + N + O + W + L + E + D + G + E = 96% 
  H + A + R + D + W + O + R + K     = 98%

But
  A + T + T + I + T + U + D + E     = 100%

So much for that and for the fun of it, ignoring the percent trick
and leaving the rest of the talk to the G+ comments.

But I ask myself: What would be the best approach (algorithm) to find all the
words out of a given word list (a fixed set of n words) that add up to 100?

  • 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-07T20:17:56+00:00Added an answer on June 7, 2026 at 8:17 pm

    A similar problem is discussed here. Your specific problem, however, suggests an easier approach. Since the number of words in a wordlist is limited and always smaller than the number of character permutation up to the length of the longest word, you are best off by proceeding like this:

    Let’s assume we have a charToNum function, which maps a character to the corresponding number:

    for each word in wordlist
      sum := 0
      for each character in word
        sum := sum + charToNum(character)
        if (sum > 100)
          break // Correct result no longer possible
      if (sum == 100)
        Add the word to the result set
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across this post on the MSMobiles.com blog that says the following, among
I just came across this post that talks about time measuring. I remember (I
I came across this post and found belisarius' answer interesting. Wondering whether he someone
I came across this post here (link below) and it states that you can
I came across this post: Upload files with FTP using PowerShell But I'm looking
I came across this plain js ajax upload code (it seems that jquery $.post
Well I was reading this post and then I came across a code which
I came across this post in which someone wants to find out the name
http://jsfiddle.net/fzTak/7/ i came across one post telling this on stackoverflow but it is not
I came across a post in SO where the algorithm is implemented in python

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.