Yahoo India Web Search

Search results

    • K largest elements from a big file or array.
    • Find a triplet a, b, c such that a2 = b2 + c2. Variations of this problem like find a triplet with sum equal to 0. Find a pair with given sum. All such questions are efficiently solved using hashing.
    • Binary tree traversal questions like left view, right view, top view, bottom view, maximum of a level, minimum of a level, children sum property, diameter etc.
    • Convert a Binary tree to DLL – Practice here.
    • Find the missing number in the array. You are given an array of positive numbers from 1 to n, such that all numbers from 1 to n are present except one number x. You have to find x. The input array is not sorted.
    • Determine if the sum of two integers is equal to the given value. Given an array of integers and a value, determine if there are any two integers in the array whose sum is equal to the given value.
    • Merge two sorted linked lists. Given two sorted linked lists, merge them so that the resulting linked list is also sorted. Consider two sorted linked lists and the merged list below them as an example.
    • Copy linked list with arbitrary pointer. You are given a linked list where the node has two pointers. The first is the regular next pointer. The second pointer is called arbitrary_pointer and it can point to any node in the linked list.
    • 49 Amazon Coding Interview Questions
    • How to Answer Amazon Coding Interview Questions
    • Amazon Coding Interview Prep

    For more help with arrays, take a look at our full guide on the subject, which includes 50+ array interview questions. For more help with linked lists, take a look at our full guide on the subject, which includes 40+ linked list interview questions. For more help with strings, take a look at our full guide on the subject, which includes 51 string i...

    To learn how to answer coding interview questions, you must first be able to approach them systematically. You might solve a coding question in different ways, but at the end of the day, you need an approach that will consistently: 1. Show your interviewer that you have the knowledge they need 2. Break the problem down into manageable steps With th...

    Now that you know what questions to expect and how to answer them in Amazon coding interviews, here are 3 steps you should take to make sure you’re fully prepared.

  1. Apr 15, 2024 · Python Questions. SQL Questions. Statistics Questions. Behavioral Questions. 6 Resources to Prepare for the Amazon Data Science Interview. The Amazon Data Scientist Interview Process. The interview process for Amazon from beginning to end is about 1 month long.

    • Array: An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.
    • String: Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’.
    • Linked List: Linked List is the data structure that can overcome all the limitations of an array. A Linked list is a linear data structure, in which the elements are not stored at contiguous memory locations, it allocates memory dynamically.
    • Searching: Searching Algorithms are designed to check for an element or retrieve an element from any data structure where it is stored.
  2. Jul 18, 2024 · Amazon Python interview questions. Amazon Python interview questions can vary greatly but could include: 20. Find the missing number in the array. You have been provided with the list of positive integers from 1 to n. All the numbers from 1 to n are present except x, and you must find x. Example:

  3. People also ask

  4. To help you, we have compiled a list of the top 15 coding questions asked during Amazon interviews. The answers will teach you the fundamental concepts required to navigate difficult problem-solving questions.