Question
Which data structure is used for implementing
breadth-first search (BFS) algorithm?Solution
Queue is used to implement BFS.
Which of the following letters will be 6th letter from the left end if the letters at even positions are replaced by succeeding letter as per...
How many pairs of letters are there in the word āSENTIMENTā which has as many letters between them in the word as in the alphabetical series?
If all the digits of the number 36722747328 are arranged in descending order from the left end, then which digit is third to the left of fourth digit f...
If all the digits of the number 6878878436357 are decreased by 2, after that all the digits are arranged in descending order from the left end, then wha...
If each of the letters in the word 'JASMINE' is arranged in the English alphabetical order. How many letters are there in the English alphabetical serie...
In the word āTOWARDSā all consonants are written as their preceding letter and all vowels are written as their following letters. Now all letters ar...
- In the word āHERITAGEā how many pairs of the letters have the same number of letters between them in the word as in alphabetical series?
If in the number '5736358324', 2 is added to all the odd digits and 2 is subtracted from all the even digits, then what is the sum of all the prime numb...
Each even digit in the number 563298 is replaced by the next higher digit and each odd digit is replaced by the previous lower digit and the digits obta...
If all the prime digits of the number 5396732845 are written first (in increasing order) followed by even digits(in increasing order) and then odd digit...