Question
Find the unit digit of 3323 + 4235
Solution
Unit digit of 3323 = Unit digit of 34 X 5 + 3 = Unit digit of 33 = Unit digit of 27 = 7
Unit digit of 4235 = Unit digit of 24 X 8 + 3 = Unit digit of 23 = 8
Required unit digit = Unit digit of (8 + 7) = Unit digit of 15 = 5
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...The Master Theorem gives time complexity for recurrences of the form:
Which of the following is true for the time complexity of binary search?
Which is not true about minimum spanning tree?
Which sorting algorithm divides the array into halves recursively?
Which command is TCL command
Which of the following is substring of “IXAMBEE”?
Which data structure is used in BFS (Breadth-First Search)?
Which of the following is considered the strongest type of encryption method in modern cyber security practices?
In a binary search tree (BST), what is true about the left child of a node?