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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:22:57+00:00 2026-06-16T00:22:57+00:00

I have trouble understanding the following: We have the String ABRACADABRA . We divide

  • 0

I have trouble understanding the following:
We have the String ABRACADABRA. We divide this into groups as example:
S is divided into the group:

S0 = <S[3i]S[3i + 1]S[3i + 2] for i = 0,1,2...> where <> signifies an array and S[i] signifies the character in S in the position i.

I was expecting that S0=<S[0]S[4]S[8]S[11]> but according to the “solution” in the book I read it is not as S0=[ABR][ACA][DAB][RA] which is essentially S[0]S[3]S[6]S[9].
So what am I reading wrong in the formula S0 = <S[3i]S[3i + 1]S[3i + 2] for i = 0,1,2...>?

In case it matters it is from a chapter I read on Suffix Arrays. I only have trouble in the formula

  • 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-16T00:22:58+00:00Added an answer on June 16, 2026 at 12:22 am

    S0=[ABR][ACA][DAB][RA] is not S[0]S[3]S[6]S[9]. S[0]S[3]S[6]S[9] would be AADR.

    This is what happens:

    For i=0:
    <S[3i]S[3i+1]S[3i+2]> = <S[3*0]S[3*0+1]S[3*0+2]> = <S[0]S[1]S[2]> = <ABR>

    For i=1:
    <S[3i]S[3i+1]S[3i+2]> = <S[3*1]S[3*1+1]S[3*1+2]> = <S[3]S[4]S[5]> = <ACA>

    For i=2:
    <S[3i]S[3i+1]S[3i+2]> = <S[3*2]S[3*2+1]S[3*2+2]> = <S[6]S[7]S[8]> = <DAB>

    For i=3:
    <S[3i]S[3i+1]S[3i+2]> = <S[3*3]S[3*3+1]S[3*3+2]> = <S[9]S[10]S[11]> = <RA >

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

Sidebar

Related Questions

I'm having trouble understanding jqueries .each. I have the following code: $('#testDiv').each(function(index, domEle){ $(this).text(index);
I was reading the following article: http://java.sun.com/docs/hotspot/gc1.4.2/example.html and have trouble understanding the following lines:
I have trouble understanding the following thing: in my localized application I have an
I have trouble understanding the compilers. The following code does work in UNIX under
I have some trouble understanding the output from the following code: int main(void) {
I have little trouble understanding why variables aren't working properly in the following code.
I have trouble understanding what the following code means (and partly, why it even
I have the following problem, and am having trouble understanding part of the equation:
The idea of MVC itself seems clear to me but I have trouble understanding
I'm having trouble understanding using D3 events and dispatch functions. I have a chart

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.