A character bigram is a pair of two adjacent characters in a string. We need to find the number of distinct bigrams in the string $thoughtsoftheghosts$.
The input string is: $thoughtsoftheghosts$.
We can list all possible adjacent pairs (bigrams) from the string:
Now, let's identify the unique bigrams from the list above. We only count each distinct pair once:
By counting the unique bigrams listed above, we find there are 14 distinct bigrams.
Therefore, the total number of unique character bigrams in the string $thoughtsoftheghosts$ is 14.
In an engineering college of 10,000 students, 1,500 like neither their core branches nor other branches. The number of students who like their core branches is 1/4th of the number of students who like other branches. The number of students who like both their core and other branches is 500.
The number of students who like their core branches is
$A$ is an ($n \times n$) matrix. Consider the following two statements
Statement 1: Columns of matrix $A$ are linearly independent
Statement 2: Inverse of matrix $A$ exists
Which one of the following statements is TRUE?