All Exams Test series for 1 year @ ₹349 only
Question

If the last 10 letters in the following string are removed and become the first 10 letters, then how many letters will be there between ‘B’ and ‘D’?

T W E K D P S L Z U B Y S Q N R G J

The correct answer is

11

Understanding the String Rotation

The problem asks us to modify a given string by performing a specific rotation. We need to take the last 10 letters (characters) of the string and move them to become the first 10 letters, effectively rotating the string. After rearranging the string, the goal is to determine the number of letters that appear between the character 'B' and the character 'D' in the newly formed string.

Analyzing the Original String

The initial string provided is:

T W E K D P S L Z U B Y S Q N R G J

First, let's count the total number of characters in this string. Counting carefully, we find there are 18 characters in total.

Performing the String Transformation

The core task is to rearrange the string by moving the last 10 characters to the beginning.

  • Step 1: Identify the last 10 letters.
    From the original string "T W E K D P S L Z U B Y S Q N R G J", the last 10 characters are:
    Z U B Y S Q N R G J
  • Step 2: Identify the remaining letters.
    The characters that come before these last 10 are the first 8 characters of the original string:
    T W E K D P S L
  • Step 3: Construct the new string.
    By placing the identified last 10 characters at the very beginning, followed by the first 8 characters, the transformed string is formed:
    Z U B Y S Q N R G J T W E K D P S L

Locating 'B' and 'D' in the New String

Now, we need to examine the transformed string to find the positions of the letters 'B' and 'D'.

The transformed string is: Z U B Y S Q N R G J T W E K D P S L

We can observe the positions (using 0-based indexing):

  • The letter 'B' is located at index 2.
  • The letter 'D' is located at index 14.

Counting Letters Between 'B' and 'D'

The final step is to count how many letters are strictly between 'B' and 'D' in the rearranged string.

The letters situated between 'B' (at index 2) and 'D' (at index 14) are:

Y S Q N R G J T W E K

To calculate the number of letters between these two positions, we can subtract the index of 'B' from the index of 'D' and then subtract 1 (to exclude 'B' and 'D' themselves).

The calculation is: (Index of 'D') - (Index of 'B') - 1.

Using the indices we found: $(14 - 2) - 1 = 12 - 1 = 11$.

Therefore, there are exactly '$11$' letters between 'B' and 'D' in the modified string.

Was this answer helpful?

Important Questions from General Series of Alphabets

  1. Select the letter-cluster from among the given options that can replace the question mark (?) in the following series.

    RIN, TFR, VCV, ?, ZWD

  2. Which of the following options will complete the given series:

    l m _ o _ n _ l n o _ _ _ l m n

  3. ABCDEFGHIJKLMNOPQRSTUVWXYZ

    If the alphabets are reversed then the 5 th letter to the left of 9 th letter from right is?
  4. 4 W X Z 8 Q P O J 6 G T M V E U H 5 3 B

    In the above series, which term is 8th to the left of 5th term from the right is:

  5. In the following letter series, how many letters of K are preceded by G but not followed by P?

    C L M G K P N M G K C L O G K L X G K B K G K A

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App