basic python questions strcmp
Function is given string arguments which are names of function of a class call those functions from this function. eg. consider function as fun(method1,method2) and class is c so fun should call method1 of class c.
I didn’t know the answer.
Inorder tree traversal using recursion and iterative.
Data structures for BFS, DFS.
Given an array of elements (millions of elements) return the second highest occurring element.
you are given a string say “this is a book” and reverse function and output should be “book a is this”
Ans:reverse string and then reverse every word.
Order of compilation, relocation, linking and loading
Examples of polymorphism
Which data structure can be used to reverse words in file?
int arr[5]; printf(“%u%u”,arr+1,&arr+1); output?
They asked me if I knew Perl. I said no.