wildcard_pattern_matching

package
v0.0.0-...-d7cbdf0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: CC0-1.0, CC-BY-SA-4.0 Imports: 0 Imported by: 0

README

Wildcard Pattern Matching

Given a text and a wildcard pattern, implement wildcard pattern matching algorithm that finds if wildcard pattern is matched with text. The matching should cover the entire text (not partial text). The wildcard pattern can include the characters ? and *.

  • ? – matches any single character
    • – Matches any sequence of characters (including the empty sequence)

This problem is based on content from GeeksforGeeks written by Aditya Goel and subject to GeeksforGeeks copyright. The original content from GeeksforGeeks and any modifications made here are attributed to GeeksforGeeks contributors, and this work is shared under CC BY-SA 4.0.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solution

func Solution(text string, pattern string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL