Hash Function Coding Problems

Design and use hash functions

39
Total Problems
4
Easy
14
Medium
19
Hard
Start Practicing
keyh(x)

Master DSA Topics - January, 2026

Practice problems across 75+ categories

Hash Function Coding Problems

Practice problems frequently asked at Hash Function 39 problems | 4 Easy | 14 Medium | 19 Hard

# Problem Difficulty Topics
31 Number of Distinct Islands II Hard
Hash TableDepth-First SearchBreadth-First Search
32 Number of Distinct Substrings in a String Unknown
StringTrieRolling Hash
33 Number of Subarrays That Match a Pattern I Medium
ArrayRolling HashString Matching
34 Number of Subarrays That Match a Pattern II Hard
ArrayRolling HashString Matching
35 Repeated DNA Sequences Medium
Hash TableStringBit Manipulation
36 Shortest Palindrome Hard
StringRolling HashString Matching
37 Strings Differ by One Character Medium
Hash TableStringRolling Hash
38 Subtree of Another Tree Easy
TreeDepth-First SearchString Matching
39 Sum of Scores of Built Strings Hard
StringBinary SearchRolling Hash
Showing 31-39 of 39
1 2 3

Tutorials Library

Master any technology with our largest free online Library. Browse through 500+ tutorials across 10+ categories.

Python

Python Tutorial

Java

Java Tutorial

JavaScript

JavaScript

C++

C++ Tutorial

C#

C# Tutorial

Go

Go Tutorial

Rust

Rust Tutorial

TypeScript

TypeScript

Swift

Swift Tutorial

Kotlin

Kotlin Tutorial

Ruby

Ruby Tutorial

PHP

PHP Tutorial

C

C Tutorial

Scala

Scala Tutorial

Perl

Perl Tutorial

R

R Tutorial

Dart

Dart Tutorial

Lua

Lua Tutorial

MATLAB

MATLAB

Haskell

Haskell

Developer Toolbox

Powerful online tools to boost your productivity

public class MyFirstJavaProgram { Edit & Run

   /* This is my first java program.
    * This will print 'Hello, World!' as the output
    */

   public static void main(String []args) {
      System.out.println("Hello, World!"); // prints
   }
}

Start Coding in Seconds

Coding Ground For Developers

Code, Edit, Run and Share

Ignite your coding potential on Coding Ground - an immersive online platform for hands-on learning, collaboration, and skill development.