What is the difference between 1d and 2d array?
No Answer is Posted For this Question
Be the First to Post Answer
How helpful is abstract data type of data structures?
Is boolean a data type?
Is array faster than arraylist?
What are the types of map?
Is hashmap synchronized?
I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.
What is a postfix expression?
Explain the types of linked lists.
How does variable declaration affect memory allocation?
Now you are given an array of a characters (both ASCII and Kanji) and, an index into the array. The index points to the start of some character. Now you need to write a function to do a backspace (i.e. delete the character before the given index).
Can we modify final arraylist?
What is difference between stack and queue?