In this post, we have put together the AEM (Adobe Experience Manager) Interview Questions and answers for beginner, intermediate and experienced candidates. These important questions are categorized for quick browsing before the interview or to act as a helping guide on different topics in AEM for interviewers. These questions are most helpful when interviewing for roles such as AEM developer and AEM admin.
Given an array of integers and a value, find out if there are three integers in the array whose sum will equal the given value.
  for (int i = start_index, j = A.size() – 1; i < j;) {
    int sum = A[i] + A[j];
    if (sum == val) {
      return true;
    if (sum < val) {
      ++i;
    } else {
      –j;
  std::sort(arr.begin(), arr.end());
  for (int i = 0; i < arr.size() - 2; ++i) {
    int remaining_sum = required_sum – arr[i];
    if (find_sum_of_two(arr, remaining_sum, i + 1)) {
      return true;
    vector
    cout<<"-8: " <     cout<<"-25: "<     cout<<"0: " <     cout<<"-42: " <     cout<<"22: " <     cout<<"-7: " <     cout<<"-3: " <     cout<<"2: " <     cout<<"4: " <     cout<<"8: " <     cout<<"7: " <     cout<<"1: " <     return 0; Here we have to sort the array first. After that, we set one element âe,â and from the remaining array, we try to find a pair (a, b) such that it fulfills the criteria: required_sum – e = a + b. The search begins with the first element e in the array (at index i = 0). The above code will find such a pair in linear time. The time we find the required pair, we find the solution: a, b, and e, after which the iteration stops. However, if the pair is not found, the above steps will repeat for all elements from index i = 1 to n – 3 until the conditions are met.     BinaryTreeNode* root,     int min_value,     int max_value) {   if (root == nullptr) {     return true;   if (root->data < min_value ||       root->data > max_value) {     return false;     is_bst_rec(root->left, min_value, root->data) &&       is_bst_rec(root->right, root->data, max_value);       root,       numeric_limits       numeric_limits   BinaryTreeNode* root = create_random_BST(15);   BinaryTreeNode* root2 = create_BinaryTree(20); int main(int argc, char* argv[]) { This code checks on each node where the minimum value of its right subtree is greater than the nodeâs data, and the maximum value of its left subtree is less than the nodeâs data. Adobe work life balance is just awesome. With flexible timings it gets easy to spend time with your family/friends. No one asks you about your office timings and leaves. I know a few guys who take couple of weeks off twice or thrice every year without anyones concerns. If you have achieved/learned a few things and want to take it slow for some time and focus on your family then its the best place for you. Please keep mid level manager in check. Please have a look at the attrition rate across clouds and teams, also please take actions to all these suggestions you collect after all hands meetings and surveys.If you’re given a Binary Tree, find out if it’s a Binary Search Tree. In a binary search tree, each node’s major value is smaller than the key value of all nodes in the right subtree, and greater than the major values of all nodes in the left subtree, i.e., L < N < R.
Adobe Interview Preparation Strategies