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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:43:11+00:00 2026-06-17T12:43:11+00:00

If h is any hashing function and is used to hash n keys in

  • 0

If h is any hashing function and is used to hash n keys in to a table of size m, where n<=m, the expected number of collisions involving a particular key x is:

(A) Less than 1
(B) Less than n
(C) Less than m
(D) Less than n/2

What I figured out is, it should be less than n but I’m not sure.

  • 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-17T12:43:11+00:00Added an answer on June 17, 2026 at 12:43 pm

    You best read up on the Birthday paradox.

    Here are some links:

    Birthday problem

    understanding-the-birthday-paradox

    And a quote from the second link:

    Here are a few lessons from the birthday paradox:

    • sqrt(n) is roughly the number you need to have a 50% chance of a match with n items. sqrt(365) is about 20. This comes into play in
      cryptography for the birthday attack.
    • Even though there are 2^128 (1e38) GUIDs, we only have 2^64 (1e19) to use up before a 50% chance of collision. And 50% is really, really
      high.
    • You only need 13 people picking letters of the alphabet to have 95% chance of a match. Try it above (people = 13, items = 26).
    • Exponential growth rapidly decreases the chance of picking unique items (aka it increases the chanes of a match). Remember: exponents
      are non-intuitive and humans are selfish!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A little context: I'm trying to make a very simple hashing function/hash table as
To prepare a struct to be used in an unordered_set , a hashing function
I receive the error: hashing.cpp: In function ‘int main(int, char**)’: hashing.cpp:96: error: expected type-specifier
to my current understanding Universal Hashing is a method whereby the hash function is
Is hashing a password twice before storage any more or less secure than just
Is there any known hashing algorithm, which for similar input returns similar output? I
Any chance the 'me/friends' graph api or friends FQL table return some friends only?
I'm looking for a high-speed hashing function with good (i.e near uniform) distribution for
I am trying to convert a JavaScript hashing function to C# hashing to do
I was asked to stay away from HashMap or any sort of Hashing. The

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.