Amazon AI Engineer Interview Preparation Guide - Junior Level
Amazon's AI Engineer interview process for junior-level candidates comprises 7 total rounds spanning approximately 4-6 weeks. The process begins with a recruiter screening call, followed by two technical phone screens focusing on coding fundamentals and ML basics, and concludes with four on-site interview rounds covering advanced coding, deep learning and AI-specific concepts, ML system design, and behavioral assessment aligned with Amazon's 14 Leadership Principles. Each round is designed to evaluate technical depth, problem-solving ability, AI domain knowledge, and cultural fit.
Interview Rounds
Recruiter Screening
What to Expect
Your first interaction with Amazon's hiring team, typically a 30-minute phone call. The recruiter will assess your background, verify alignment between your experience and the AI Engineer role, discuss career goals, and explain the role's responsibilities. This conversation gauges cultural fit with Amazon and your genuine interest in AI work. The recruiter will outline the interview process, answer logistical questions, and provide information about the team and projects you'd work on.[2]
Tips & Advice
Research Amazon's mission, values, and recent AI initiatives before the call. Be enthusiastic about AI and machine learning work specifically. Clearly articulate why you're interested in Amazon's AI efforts rather than general tech companies. Ask thoughtful questions about the team structure, specific AI domains you'd work in, mentorship opportunities, and growth paths. Be authentic about your background—recruiters value honesty over embellishment. Mention relevant AI/ML projects, coursework, competitions, or internships you've completed. Practice a concise 2-3 minute pitch about who you are. Keep energy positive and professional. Ask about next steps and timeline. Remember: the recruiter is evaluating fit, not testing deep knowledge.
Focus Topics
Career Goals and Learning Orientation
Articulating short-term and long-term career aspirations in AI engineering. Demonstrating genuine curiosity about emerging AI technologies and commitment to staying current in a rapidly evolving field. Showing growth mindset and openness to feedback.
Practice Interview
Study Questions
Understanding the AI Engineer Role at Amazon
Clear comprehension of what the role entails: which AI domains (NLP, computer vision, generative AI, deep learning), team structure, technology stack (AWS services, frameworks), types of projects, and expected daily responsibilities. Preparing intelligent questions about the specific role and team.
Practice Interview
Study Questions
Background and Experience Articulation
Clear, concise explanation of your AI/ML background, relevant coursework, academic projects, internships, competitions, or professional experience. Ability to discuss what attracted you to AI engineering and what you've learned from previous experiences.
Practice Interview
Study Questions
Amazon Leadership Principles Overview
Foundational understanding of Amazon's 14 Leadership Principles including Customer Obsession, Ownership, Invent and Simplify, Are Right A Lot, Learn and Be Curious, Hire and Develop the Best, Insist on the Highest Standards, Think Big, Bias for Action, Frugality, Earn Trust, Dive Deep, Have Backbone; Disagree and Commit, and Deliver Results. These principles guide every hiring decision at Amazon.[3]
Practice Interview
Study Questions
Technical Phone Screen - Coding and Data Structures
What to Expect
A 45-60 minute technical interview conducted over phone or video where you'll solve 1-2 coding problems focused on data structures and algorithms using an online collaborative editor (CoderPad, HackerRank, etc.). The interviewer will observe your problem-solving approach, code quality, complexity analysis, and ability to handle edge cases. You'll narrate your thinking throughout.[1][2]
Tips & Advice
Follow Amazon's recommended 5-step approach: (1) Clarify by asking specific questions about inputs, outputs, constraints, and edge cases; (2) Plan by discussing 2-3 possible solutions and justifying your choice; (3) Implement with clean code, descriptive variable names, and helpful comments; (4) Test with simple examples first, then edge cases and boundary conditions; (5) Optimize for time and space complexity.[1] Speak out loud constantly—interviewers want to understand your thinking process. Write production-ready code, not pseudocode. Don't jump into coding immediately; invest time in clarification and planning. If stuck, think aloud and ask for hints. Practice on LeetCode (Amazon-specific filter), HackerRank, or similar platforms. Expect medium-difficulty problems (LeetCode Medium level) that require solid understanding of core data structures and algorithms.
Focus Topics
Edge Cases and Comprehensive Testing
Systematic identification and handling of edge cases: empty inputs, single elements, large inputs, negative numbers, null pointers, duplicates, boundary conditions, and off-by-one errors. Writing test cases to validate your solution comprehensively before moving forward.[1]
Practice Interview
Study Questions
Production-Ready Code Quality
Writing clean, readable code with meaningful variable names (e.g., 'node_count' not 'nc'), proper indentation, helpful comments explaining non-obvious logic, and appropriate error handling. Avoiding code smells like repeated logic, overly long functions, or poor naming conventions.[1]
Practice Interview
Study Questions
Time and Space Complexity Optimization
Analyzing your solution's complexity, identifying performance bottlenecks, and proposing optimizations. Understanding trade-offs between time and space complexity. Demonstrating ability to move from a working but inefficient brute-force solution to an optimized one.[1]
Practice Interview
Study Questions
Structured Problem-Solving Methodology
Consistent, disciplined approach to coding problems following Amazon's recommended method: clarify requirements thoroughly, explore multiple approaches, select and justify the best one, implement cleanly, test comprehensively, and optimize systematically. This structured approach prevents mistakes and demonstrates maturity.[1]
Practice Interview
Study Questions
Core Data Structures Mastery
Deep proficiency with arrays, linked lists, stacks, queues, hash maps/tables, trees (binary, binary search trees, balanced trees), graphs, and heaps. Understanding time and space complexity for insertion, deletion, search, and traversal operations on each data structure. Knowing when to use each structure for specific problems.[1]
Practice Interview
Study Questions
Algorithm Implementation and Complexity Analysis
Proficiency with sorting algorithms (quicksort, mergesort, heapsort), searching algorithms (binary search), graph algorithms (BFS, DFS, Dijkstra, A*), and dynamic programming. Ability to calculate and clearly explain Big O time and space complexity for solutions. Understanding how to compare different algorithms' trade-offs.[1]
Practice Interview
Study Questions
Technical Phone Screen - Machine Learning Fundamentals
What to Expect
A 45-60 minute technical interview covering machine learning concepts, model evaluation, and basic system design thinking. You'll discuss ML algorithms, metrics, feature engineering, model selection, and how you'd approach simple ML problems. Less focused on coding, more on conceptual understanding and reasoning about ML systems. You may be asked to solve a simple ML problem, recommend an algorithm for a scenario, or discuss trade-offs in model selection.[2]
Tips & Advice
Be clear about fundamentals: understand supervised vs. unsupervised learning, classification vs. regression, and why different algorithms suit different problems. Know common evaluation metrics (precision, recall, F1, AUC, RMSE, MAE) and when to use each. Discuss trade-offs thoughtfully—acknowledge that no single algorithm is universally best. Connect concepts to real-world scenarios. Ask clarifying questions about problems before suggesting solutions, just as you would in coding interviews. Show understanding of the complete ML pipeline: data collection → cleaning → feature engineering → model training → evaluation → deployment. Practice explaining ML concepts clearly to someone unfamiliar with the field. For junior level, demonstrating solid understanding of fundamentals matters more than knowing cutting-edge techniques.
Focus Topics
Bias-Variance Trade-off and Generalization
Understanding the relationship between model complexity, bias, variance, and generalization error. The concepts of underfitting and overfitting. Strategies for addressing each problem: regularization, cross-validation, ensemble methods. The generalization gap between training and test performance.[2]
Practice Interview
Study Questions
Unsupervised Learning and Dimensionality Reduction
Understanding clustering algorithms (k-means, hierarchical clustering, DBSCAN), dimensionality reduction techniques (PCA, t-SNE), and when unsupervised learning is appropriate. Evaluation methods for unsupervised learning like silhouette score and elbow method. Use cases for exploratory data analysis.[2]
Practice Interview
Study Questions
Deep Learning Fundamentals
Strong foundational understanding of neural networks: neurons and layers, activation functions (ReLU, sigmoid, tanh), forward propagation and backpropagation, loss functions, optimization algorithms (gradient descent, SGD, Adam), and training dynamics. Understanding what deep learning excels at and its limitations.[2]
Practice Interview
Study Questions
Feature Engineering and Data Preprocessing
Practical techniques for handling missing data (imputation strategies), encoding categorical variables, feature scaling (normalization vs. standardization), feature selection methods, and creating meaningful features from raw data. Understanding that feature engineering often has more impact than algorithm selection.[2]
Practice Interview
Study Questions
Supervised Learning Fundamentals
Solid understanding of classification and regression tasks, supervised learning algorithms (linear/logistic regression, decision trees, SVMs, naive Bayes, k-NN), and when to apply each. Understanding parametric vs. non-parametric models and their trade-offs. Knowing when to use ensemble methods like random forests or gradient boosting.[2]
Practice Interview
Study Questions
Model Evaluation Metrics and Selection
Deep understanding of evaluation metrics: accuracy, precision, recall, F1-score, confusion matrix, AUC-ROC curve, RMSE, MAE, cross-validation strategies, and concepts of overfitting/underfitting. Knowing when to use each metric and how they relate to business objectives and real-world consequences.[2]
Practice Interview
Study Questions
On-site Round 1: Advanced Coding and Problem-Solving
What to Expect
A 60-90 minute in-person or virtual interview where you'll solve 1-2 more challenging coding problems, potentially with multiple parts or complex constraints. Similar format to the phone screen but with higher difficulty. You'll code on a whiteboard or virtual whiteboard. The interviewer evaluates your problem-solving approach, code quality, complexity analysis, communication skills, and how you handle difficulty when facing challenging problems.[1][2]
Tips & Advice
Expect harder problems than the phone screen—potentially combining multiple data structures or algorithms, requiring creative solutions, or having complex constraints. Still follow the clarify-plan-implement-test-optimize methodology, but invest more time in planning for complex problems. Think aloud continuously; if you're stuck, narrate your thinking and the interviewer may provide guidance. Practice whiteboard coding specifically—it feels very different from IDE coding; you have limited space and no syntax highlighting. Don't aim for syntax perfection but ensure logic is sound. If you finish quickly, proactively ask about optimizations or discuss scalability to edge cases. This round often determines advancement; demonstrate resilience and clear thinking even when challenged. Interviewers expect junior engineers to struggle somewhat on hard problems; they're evaluating your approach and learning agility, not expecting perfect solutions immediately.
Focus Topics
Communication and Thought Process Explanation
Continuously narrating your reasoning, explaining your approach before coding, discussing trade-offs aloud, asking for feedback, and thinking through problems conversationally rather than in silence. Clear communication demonstrating your logic and problem-solving process.[1]
Practice Interview
Study Questions
Whiteboard and Physical Coding Proficiency
Practicing coding on whiteboards, virtual whiteboards, or paper—not just IDEs. Explaining code while writing it. Adapting to limited space and absence of syntax checking. Writing legibly and organizing code clearly. Comfort with these different mediums prevents medium-induced stress.
Practice Interview
Study Questions
Handling Ambiguity and Clarification
When problems are ambiguous or underspecified, asking targeted clarification questions: What are size constraints? How should we handle negative numbers, duplicates, or empty inputs? What should we return for undefined cases? Clarifying reduces solving for the wrong problem.[1]
Practice Interview
Study Questions
Defensive Programming and Robustness
Writing code that doesn't crash on edge cases or unexpected inputs. Proper null checking, boundary validation, and graceful error handling. Thinking about assumptions and handling violations. Writing code that works correctly under adversarial or unusual conditions.[1]
Practice Interview
Study Questions
Complex Algorithm Design
Solving problems requiring skillful combination of algorithms and data structures, such as graph traversal with specific constraints, multi-dimensional dynamic programming, or complex tree manipulations. Problems where the naive brute-force approach is insufficient. Designing algorithms rather than just implementing known ones.[1]
Practice Interview
Study Questions
Optimization and Trade-off Analysis
Comparing multiple solution approaches systematically, calculating and comparing their time and space complexity, and making informed trade-off decisions. Progression from a working brute-force solution to an optimized one. Recognizing when good-enough performance is acceptable vs. when optimization is necessary.[1]
Practice Interview
Study Questions
On-site Round 2: Machine Learning Fundamentals and Deep Learning
What to Expect
A 60-75 minute interview focused on ML concepts, deep learning architectures, and AI-specific problem-solving. You might be asked to design a simple ML solution to a problem, explain how you'd approach building a specific AI system, discuss neural network architectures, or solve problems involving NLP or computer vision concepts. This round assesses understanding of the ML pipeline and ability to connect theoretical concepts to real AI applications.[2]
Tips & Advice
Go substantially deeper than the phone screen—demonstrate strong understanding of deep learning architectures, training dynamics, and practical considerations. Be specific: if discussing CNNs, explain convolutional layers, pooling, and why they excel for images. If discussing NLP, understand tokenization, embeddings, transformer architecture, and why transformers revolutionized NLP. Connect concepts to practical scenarios at Amazon scale. Discuss trade-offs: accuracy vs. latency, model complexity vs. training time, inference speed vs. accuracy. Recognize that not every problem requires deep learning; simpler models are often preferable. Show awareness of common pitfalls: overfitting, data leakage, training-serving skew, catastrophic forgetting. Discuss reproducibility and stable model training. For junior engineers, conceptual understanding matters more than having implemented cutting-edge research; demonstrate you grasp the fundamentals deeply.
Focus Topics
Model Evaluation and Metrics for AI Systems
Domain-specific metrics: accuracy/precision/recall for classification, BLEU/ROUGE/CIDEr for NLP, mAP for object detection, Dice/IoU for segmentation. Understanding A/B testing for ML models, offline vs. online evaluation, and connecting metrics to business outcomes. Handling imbalanced datasets and class-weighted metrics.[2]
Practice Interview
Study Questions
Transfer Learning and Fine-tuning Pre-trained Models
Understanding how to leverage pre-trained models from ImageNet, BERT, GPT, or other sources. Adaptation strategies for new tasks. Fine-tuning approaches: full fine-tuning, parameter-efficient fine-tuning (LoRA, adapters), prompt tuning. When transfer learning is appropriate. How to avoid overfitting when working with limited data and pre-trained models.[2]
Practice Interview
Study Questions
Deep Learning Training and Optimization
Understanding training dynamics: loss functions and when to use each, optimization algorithms (SGD, momentum, Adam) and their trade-offs, learning rates and scheduling, batch normalization, regularization techniques (L1, L2, dropout), and early stopping. Ability to debug training issues: vanishing/exploding gradients, poor convergence, overfitting. Understanding why models fail to learn.[1]
Practice Interview
Study Questions
Generative AI and Advanced Models
Understanding generative models and their applications: Generative Adversarial Networks (GANs), Variational Autoencoders (VAEs), diffusion models, and Large Language Models (LLMs). Understanding fine-tuning and prompt engineering for adapting pre-trained models. Awareness of use cases: text generation, image generation, code generation, and creative applications. Understanding the trade-offs and challenges of generative AI.[2]
Practice Interview
Study Questions
Natural Language Processing (NLP) and Transformers
Solid understanding of NLP pipeline: text preprocessing, tokenization, embeddings (Word2Vec, GloVe, contextual embeddings from BERT/RoBERTa), language models, and transformer-based architectures. Understanding how attention mechanisms work and why transformers revolutionized NLP. Applications: text classification, sentiment analysis, question answering, machine translation. Awareness of fine-tuning pre-trained NLP models.[2]
Practice Interview
Study Questions
Neural Network Architectures and Fundamentals
Strong understanding of different neural network types and their applications: Convolutional Neural Networks (CNNs) for image data, Recurrent Neural Networks (RNNs, LSTMs, GRUs) for sequential data, Transformer architectures for sequences and NLP. Understanding building blocks: convolutional layers, pooling, recurrent cells, attention mechanisms, and why each component matters.[1]
Practice Interview
Study Questions
Computer Vision and Image Processing
Understanding image representations (pixels, color channels), convolutional operations and why they capture spatial patterns, common CNN architectures (ResNet, VGG, EfficientNet), and applications: image classification, object detection, semantic segmentation, instance segmentation. Understanding transfer learning and pre-trained models for vision. Awareness of data augmentation for vision tasks.[2]
Practice Interview
Study Questions
On-site Round 3: Machine Learning System Design
What to Expect
A 60-75 minute interview where you design a complete ML system for a specific problem, typically an open-ended question like 'Design a recommendation system for Amazon' or 'How would you build a fraud detection system?' You discuss the full system end-to-end: problem definition, data collection and preparation, feature engineering, model selection, training pipeline, evaluation, deployment, and monitoring. This assesses ability to think about ML problems holistically from problem definition through production.[2]
Tips & Advice
Start by clarifying the problem: What exactly are we optimizing for? What are constraints (latency, throughput, accuracy, cost)? Who are the users? Then structure your thinking: define success metrics, discuss data strategy, outline the feature engineering pipeline, select appropriate models with justification, describe training infrastructure, establish evaluation procedures, and plan deployment and monitoring. Discuss trade-offs explicitly: accuracy vs. latency, model complexity vs. maintainability, batch vs. real-time predictions. For junior engineers, the interviewer expects solid thinking but not expert-level system design; focus on thorough problem understanding before solutions. Mention AWS services appropriately (SageMaker, EC2, S3, Lambda, DynamoDB). Discuss production concerns: how you'd monitor models, detect data drift, handle model degradation, and retrain. Be humble about knowledge gaps—it's acceptable to say 'I'd want to learn more about X' or 'Let me think about that.' Interviewers appreciate thoughtful candidates who acknowledge limitations rather than pretending expertise. For junior level, showing a structured thinking process matters more than having all answers.
Focus Topics
Trade-off Analysis and Decision-Making
Discussing trade-offs: accuracy vs. speed, model complexity vs. interpretability, batch vs. real-time predictions, cost vs. performance. Making principled decisions about which trade-offs matter most given constraints. Justifying choices with clear reasoning.[2]
Practice Interview
Study Questions
Success Metrics and Evaluation Strategy
Defining business metrics (not just technical metrics) that define success for the system. Offline evaluation methodology using historical data. Online evaluation through A/B testing. Understanding statistical significance and sample size requirements. Connecting business goals to technical metrics. Establishing baseline comparisons.[2]
Practice Interview
Study Questions
Scalability and Production Considerations
Designing systems that scale to millions of users or requests. Addressing latency requirements, throughput expectations, and infrastructure efficiency. Deciding between batch predictions and real-time serving. Discussing caching strategies, load balancing, and resource efficiency. Familiarity with AWS services: SageMaker for training, EC2 for inference, Lambda for serverless, S3 for storage, DynamoDB for low-latency access.[2]
Practice Interview
Study Questions
Model Monitoring and Production Maintenance
Post-deployment concerns: monitoring model performance degradation, detecting data drift and feature drift, automating retraining triggers, maintaining model quality over time. Debugging models that perform poorly in production despite good offline metrics (training-serving skew). Alerting strategies for anomalies.[2]
Practice Interview
Study Questions
End-to-End ML System Design
Designing complete ML systems including problem definition and scoping, data strategy, feature pipeline, model training architecture, evaluation methodology, and deployment strategy. Understanding the full ML lifecycle from business problem to production model. Recognizing that model training is just one component of a larger system.[2]
Practice Interview
Study Questions
Data Collection and Feature Strategy
Discussing data requirements: sources, volume needed, quality considerations, and labeling strategy if applicable. Feature engineering approach: identifying key features, feature extraction, feature stores for scalability, and data preprocessing pipeline. Understanding data quality issues and how they impact model performance.[2]
Practice Interview
Study Questions
On-site Round 4: Behavioral Interview and Amazon Leadership Principles
What to Expect
A 45-60 minute interview focused entirely on behavioral questions and cultural fit. The interviewer asks about past experiences, how you handle challenges, teamwork, and how you embody Amazon's 14 Leadership Principles. Expect questions like 'Tell me about a time you failed and what you learned,' 'Describe a situation where you had to learn something new quickly,' or 'Tell me about a time you disagreed with a team member.' You'll receive follow-up questions and the interviewer will dig deeper into your answers.[3]
Tips & Advice
Prepare 4-6 detailed STAR method stories from your past experiences demonstrating different Leadership Principles. Use specific situations, not generalizations. Quantify impact where possible: 'improved accuracy by 15%' instead of 'improved accuracy.' Be honest about failures—what matters is what you learned and how you grew. Explicitly connect your stories to Amazon's principles: 'This situation demonstrates the Leadership Principle of Ownership because I took responsibility for...' Practice telling stories concisely in 2-3 minutes initially, then expand with details when asked. Show curiosity and growth mindset, especially 'Learn and Be Curious.' Demonstrate collaboration and respect for teammates. Be authentic—interviewers can sense fakeness. For junior-level candidates, focus on learning and growth rather than claiming mastery. Interviewers expect less scope and impact from junior engineers but expect genuine effort and willingness to develop.
Focus Topics
Handling Failure and Learning from Setbacks
Honest stories about failures, mistakes, or projects that didn't work. Focusing on what you learned and how you grew. Demonstrating resilience, adaptability, and ability to bounce back. Showing growth mindset in face of adversity.[3]
Practice Interview
Study Questions
Technical Stories with Business Impact
Preparing AI/ML stories that show technical depth and business impact. For example: 'I implemented a feature that improved model accuracy by 12%, which increased user engagement by 8%.' Connecting technical achievements to measurable business outcomes.[2]
Practice Interview
Study Questions
Amazon Leadership Principle: Customer Obsession
Stories where you focused on customer or user needs, even when it meant extra work. Understanding how your work impacts users. Making decisions based on customer benefit rather than convenience. For AI systems, this could be about model accuracy impacting user experience.[3]
Practice Interview
Study Questions
Amazon Leadership Principle: Insist on the Highest Standards
Stories about refusing to accept mediocre quality, pushing for optimization, maintaining high standards under pressure, paying attention to detail, and commitment to excellence. Demonstrating you won't cut corners despite challenges.[3]
Practice Interview
Study Questions
Amazon Leadership Principle: Ownership
Stories demonstrating taking ownership of problems, following through on commitments, being accountable for outcomes, and taking initiative even without explicit direction. Showing you care deeply about results and don't deflect responsibility.[3]
Practice Interview
Study Questions
Amazon Leadership Principle: Learn and Be Curious
Stories showing intellectual curiosity about AI/ML, eagerness to learn new technologies, proactive skill development, and openness to feedback. Demonstrating humility and growth mindset. For junior-level, showing strong learning orientation is a major strength.[3]
Practice Interview
Study Questions
STAR Method: Structured Storytelling
Mastering the STAR framework: Situation (describe the context), Task (explain the challenge or goal), Action (describe your specific actions and decisions), Result (share the outcome and impact). Being specific with numbers and results. Practicing telling each story clearly and engagingly in 2-3 minutes initially.[3]
Practice Interview
Study Questions
Frequently Asked AI Engineer Interview Questions
Sample Answer
Sample Answer
Sample Answer
Sample Answer
Sample Answer
Sample Answer
Sample Answer
Sample Answer
from flask import Flask, request, jsonify, make_response
app = Flask(__name__)
# Centralized validator: checks required keys and types; returns (valid: bool, error: str)
def validate_input(payload):
if not isinstance(payload, dict):
return False, "JSON body must be an object"
required = {
"model": str,
"inputs": list, # list of input records
"metadata": dict # optional but if present must be dict
}
for key, t in required.items():
if key not in payload:
return False, f"Missing required field: '{key}'"
if not isinstance(payload[key], t):
return False, f"Field '{key}' must be of type {t.__name__}"
# validate inputs content minimally
for i, item in enumerate(payload["inputs"]):
if not isinstance(item, (str, dict, list, int, float)):
return False, f"inputs[{i}] has unsupported type: {type(item).__name__}"
return True, ""
@app.route("/infer", methods=["POST"])
def infer():
try:
payload = request.get_json(force=True)
except Exception:
return make_response(jsonify(error="Invalid JSON body"), 400)
valid, error = validate_input(payload)
if not valid:
return make_response(jsonify(error=error), 400)
# Placeholder inference logic
result = {"predictions": ["ok" for _ in payload["inputs"]]}
return jsonify(result), 200
if __name__ == "__main__":
app.run()Sample Answer
Sample Answer
import numpy as np
def nms_numpy(boxes, scores, iou_threshold=0.5):
"""
boxes: (N,4) array in [x1,y1,x2,y2] format
scores: (N,) array
returns: list of kept indices (sorted by original order of selection)
"""
if len(boxes) == 0:
return []
boxes = boxes.astype(float)
x1, y1, x2, y2 = boxes[:,0], boxes[:,1], boxes[:,2], boxes[:,3]
areas = (x2 - x1) * (y2 - y1)
order = scores.argsort()[::-1] # indices sorted by descending score
keep = []
while order.size > 0:
i = order[0]
keep.append(i)
# compute intersections with remaining boxes
xx1 = np.maximum(x1[i], x1[order[1:]])
yy1 = np.maximum(y1[i], y1[order[1:]])
xx2 = np.minimum(x2[i], x2[order[1:]])
yy2 = np.minimum(y2[i], y2[order[1:]])
w = np.maximum(0.0, xx2 - xx1)
h = np.maximum(0.0, yy2 - yy1)
inter = w * h
iou = inter / (areas[i] + areas[order[1:]] - inter)
# keep boxes with IoU <= threshold
inds = np.where(iou <= iou_threshold)[0]
order = order[inds + 1] # shift by 1 because order[0] was current box
return keepSearch Results
Amazon Machine Learning Engineer Interview (questions, process ...
Complete guide to Amazon machine learning engineer interviews. Learn more about the role, the interview process, practice with example questions, ...
Mastering Amazon's Machine Learning Interview: A Comprehensive ...
This comprehensive guide will walk you through everything you need to know to ace the Amazon ML interview, covering the interview process, technical and ...
Your complete guide to the Amazon interview process
This guide will walk you through each step, from application to interview, highlighting what makes Amazon's approach different and how to prepare effectively.
Amazon Machine Learning Engineer (MLE) Interview Guide
In this guide, we'll explore Amazon's AI/ML opportunities, their unique interview loop, and tips to strengthen your application for this highly competitive role ...
Amazon Artificial Intelligence Engineer Interview Process
Tips to Crack the Amazon AI Engineer Interview · Begin your prep at least 8 weeks before your interview. · Practice a good number of problems — at ...
This interview preparation guide was generated using AI-powered research from the sources listed above. While we strive for accuracy, we recommend verifying critical information from official company sources.
Want to create your own tailored preparation guide using our deep research?
Get Started for FreeInterview-Ready Courses
Visual-first, interactive, structured learning paths