דילוג לתוכן
שאלה

Purpose of the Rabin–Karp algorithm

תצוגה מקדימה

מפתח התשובות מוצג למורים מחוברים.

Purpose of the Rabin–Karp algorithm

The Rabin–Karp algorithm, developed by Michael Rabin and Richard Karp, is most commonly used for which task?

  1. Searching for a pattern of characters inside a longer text

  2. Finding the roots of a quadratic equation

  3. Drawing the shortest path on a map

  4. Sorting a list of numbers from smallest to largest


The algorithm uses a rolling hash to compare a short string with many positions in a longer one.

פרטים

אין תיאור עדיין.

מקצועות
מתמטיקה
קהל יעד
בית ספר יסודי · כיתות א׳–ג׳
רמת קושי
7 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר
עודכן
לפני 4 ימים

תגובות

  1. אין תגובות עדיין.
© כל הזכויות שמורות