Skip to main content

IBM Interview Questions

Review this list of 8 IBM interview questions and answers verified by hiring managers and candidates.
  • IBM logoAsked at IBM 
    70 answers
    +64

    "SELECT MIN(id) AS id, TRIM(LOWER(email)) AS cleaned_email FROM users GROUP BY cleaned_email ORDER BY id `"

    Salome L. - "SELECT MIN(id) AS id, TRIM(LOWER(email)) AS cleaned_email FROM users GROUP BY cleaned_email ORDER BY id `"See full answer

    Backend Engineer
    Coding
    +3 more
  • IBM logoAsked at IBM 
    1 answer
    Video answer for 'How would you convey insights and the methods used to a non-technical audience?'

    " Here is the breakdown of the information in those images: \\1. The Amharic Letter (Financial Request)\** This is a formal letter from the \Dawa Zone Muslim Affairs Council\\ addressed to the \\Commercial Bank of Ethiopia (CBE)\. \Date:\\ 30/6/2018 (Ethiopian Calendar) \\Subject:\\ Opening a savings account. \\Purpose:\\ The letter requests the opening of a savings account for \\Nuur Mosque\**, located in Bale Zone, Dawa City. \Authorized Signatories:\\"

    Mohammedsiraj A. - " Here is the breakdown of the information in those images: \\1. The Amharic Letter (Financial Request)\** This is a formal letter from the \Dawa Zone Muslim Affairs Council\\ addressed to the \\Commercial Bank of Ethiopia (CBE)\. \Date:\\ 30/6/2018 (Ethiopian Calendar) \\Subject:\\ Opening a savings account. \\Purpose:\\ The letter requests the opening of a savings account for \\Nuur Mosque\**, located in Bale Zone, Dawa City. \Authorized Signatories:\\"See full answer

    Product Analyst
    Data Analysis
    +4 more
  • IBM logoAsked at IBM 
    1 answer

    "Use a representative of each, e.g. sort the string and add it to the value of a hashmap> where we put all the words that belong to the same anagram together."

    Gaston B. - "Use a representative of each, e.g. sort the string and add it to the value of a hashmap> where we put all the words that belong to the same anagram together."See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • IBM logoAsked at IBM 
    56 answers
    Video answer for 'Merge Intervals'
    +48

    "const mergeIntervals = (intervals) => { const compare = (a, b) => { if(a[0] b[0]) return 1 else if(a[0] === b[0]) { return a[1] - b[1] } } let current = [] const result = [] const sorted = intervals.sort(compare) for(let i = 0; i = b[0]) current[1] = b[1] els"

    Kofi N. - "const mergeIntervals = (intervals) => { const compare = (a, b) => { if(a[0] b[0]) return 1 else if(a[0] === b[0]) { return a[1] - b[1] } } let current = [] const result = [] const sorted = intervals.sort(compare) for(let i = 0; i = b[0]) current[1] = b[1] els"See full answer

    Software Engineer
    Data Structures & Algorithms
    +6 more
  • IBM logoAsked at IBM 
    67 answers
    Video answer for 'Move all zeros to the end of an array.'
    +62

    "Initialize left pointer: Set a left pointer left to 0. Iterate through the array: Iterate through the array from left to right. If the current element is not 0, swap it with the element at the left pointer and increment left. Time complexity: O(n). The loop iterates through the entire array once, making it linear time. Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures. "

    Avon T. - "Initialize left pointer: Set a left pointer left to 0. Iterate through the array: Iterate through the array from left to right. If the current element is not 0, swap it with the element at the left pointer and increment left. Time complexity: O(n). The loop iterates through the entire array once, making it linear time. Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures. "See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +4 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • IBM logoAsked at IBM 
    53 answers
    +49

    " from typing import List def two_sum(nums: List[int], target: int) -> List[int]: """ Iterate the list Create a hashmap for tracking seen complements For each element: Check if target - current was seen If so, return the index of the current and the index of the complement If not, add the current number in the hashmap as key, and the index of the current number as value. Return an empty array if the loop e"

    Jorge G. - " from typing import List def two_sum(nums: List[int], target: int) -> List[int]: """ Iterate the list Create a hashmap for tracking seen complements For each element: Check if target - current was seen If so, return the index of the current and the index of the complement If not, add the current number in the hashmap as key, and the index of the current number as value. Return an empty array if the loop e"See full answer

    Software Engineer
    Data Structures & Algorithms
    +5 more
  • IBM logoAsked at IBM 
    2 answers

    "During my initial days as a Product Manager, I faced challenges working with our central design team. The team received requests from multiple Product Managers, and prioritization was often influenced by the rapport each PM had built with them. Since I was new, I struggled to convey the importance of my tasks effectively, leading to delays in my projects. This was a significant learning moment for me. I realized that to succeed, I needed to earn the trust of the design team and demonstra"

    Shahrukh K. - "During my initial days as a Product Manager, I faced challenges working with our central design team. The team received requests from multiple Product Managers, and prioritization was often influenced by the rapport each PM had built with them. Since I was new, I struggled to convey the importance of my tasks effectively, leading to delays in my projects. This was a significant learning moment for me. I realized that to succeed, I needed to earn the trust of the design team and demonstra"See full answer

    Finance and Strategy
    Behavioral
  • IBM logoAsked at IBM 
    1 answer

    "My answer followed the framework: Users -> Goals -> Main Tasks -> Requirements -> Design -> Implementation -> Launch"

    Alessandra L. - "My answer followed the framework: Users -> Goals -> Main Tasks -> Requirements -> Design -> Implementation -> Launch"See full answer

    Product Manager
    Product Design
Showing 1-8 of 8