C++ code
Write a program to perform following tasks: Given a binary tree of integers, the task is to write in-order tree traversal method that display node’s data if it is even positive number. In all other cases it should display -1.
A.Given an array and an integer N, find elements which are divisible by N, using STL Algorithms in C++.
B.Given a vector, reverse this vector using STL in C++ without using predefined functions/algorithms.
C;Given an integer array containing repeating elements, find number of occurrences of each element using STL map (without using any predefined method) in C++.
MUST BE ALL (A.B.C) IN ONE PROGRAM
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here