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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:26:36+00:00 2026-05-27T13:26:36+00:00

Given a bunch of keys and their hashed values, how can I determine the

  • 0

Given a bunch of keys and their hashed values, how can I determine the double hash function?

UPDATE

I think h(x) = k % 13 + 1

  • 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-27T13:26:37+00:00Added an answer on May 27, 2026 at 1:26 pm
    h(x) = (x+1) % 13
    

    what you had, but you want the modulo after adding one so the resultant values are range [0,12] not [1,13] … but you had it right.

    the best I could come up with for r(x) was:

    r(x) = (x+6) % 19
    

    this really makes no sense to me why it would be this, but the way that I came to this was that the modulo divisor must have increased the shift by 6 because of the values given (38 and 101 have a difference of 1 for modulo 13 and they were six spaces apart). I feel like the modulo 19 really makes this break, so while this seems to fit, I would seek a better answer, but that’s what I came up with and I feel like I kind of had a method over guess and check.

    Best of luck, feel free to drop comments if you have any questions about this.

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

Sidebar

Related Questions

Given this set of code: unitTestConfiguration = (IDictionary) ConfigurationManager.GetSection(unitTestSection); where can you determine which
Given a ruby script with a bunch of functions, how can you unit test
Given a HTML file with the structure html -> body -> a bunch of
I have a database with a bunch of dates. I would like to, given
Given a DateTime representing a person's birthday, how do I calculate their age in
Is it possible to determine whether or not a given registry key is redirected?
In two dimensional space, given a bunch of rectangles, every rectangle covers a number
I'm processing a bunch of images with some framework, and all I'm given is
I'm given a task of converting a bunch of codes written in Python 2.7
The workflow of my app is quite simple: For a given bunch of scripts

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.