Autodesk LeetCode Questions
32 questions all-time · 7 easy · 18 medium · 7 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Number of Subarrays That Match a Pattern I Array, Rolling Hash, String Matching, Hash Function | Medium | 100 | 0.7% |
| 2 | Distribute Elements Into Two Arrays I Array, Simulation | Easy | 98 | 0.7% |
| 3 | Distribute Elements Into Two Arrays II Array, Binary Indexed Tree, Segment Tree, Simulation | Hard | 96 | 0.3% |
| 4 | Number of Subarrays That Match a Pattern II Array, Rolling Hash, String Matching, Hash Function | Hard | 96 | 0.3% |
| 5 | Count Prefix and Suffix Pairs II Array, String, Trie, Rolling Hash, String Matching, Hash Function | Hard | 96 | 0.3% |
| 6 | Count Prefix and Suffix Pairs I Array, String, Trie, Rolling Hash, String Matching, Hash Function | Easy | 96 | 0.8% |
| 7 | Number of Changing Keys String | Easy | 96 | 0.8% |
| 8 | Search in Rotated Sorted Array Array, Binary Search | Medium | 79 | 0.5% |
| 9 | Valid Parentheses String, Stack | Easy | 79 | 0.4% |
| 10 | LRU Cache Hash Table, Linked List, Design, Doubly-Linked List | Medium | 79 | 0.5% |
| 11 | Sliding Window Maximum Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue | Hard | 66 | 0.5% |
| 12 | Median of Two Sorted Arrays Array, Binary Search, Divide and Conquer | Hard | 66 | 0.5% |
| 13 | 3Sum Array, Two Pointers, Sorting | Medium | 66 | 0.4% |
| 14 | Longest Palindromic Substring Two Pointers, String, Dynamic Programming | Medium | 66 | 0.4% |
| 15 | Group Anagrams Array, Hash Table, String, Sorting | Medium | 56 | 0.7% |
| 16 | Product of Array Except Self Array, Prefix Sum | Medium | 56 | 0.7% |
| 17 | Reverse Nodes in k-Group Linked List, Recursion | Hard | 56 | 0.7% |
| 18 | Majority Element Array, Hash Table, Divide and Conquer, Sorting, Counting | Easy | 56 | 0.7% |
| 19 | Koko Eating Bananas Array, Binary Search | Medium | 56 | 0.5% |
| 20 | Maximum Subarray Array, Divide and Conquer, Dynamic Programming | Medium | 56 | 0.5% |
| 21 | Set Matrix Zeroes Array, Hash Table, Matrix | Medium | 56 | 0.6% |
| 22 | Elimination Game Math, Recursion | Medium | 56 | 0.5% |
| 23 | Sort Colors Array, Two Pointers, Sorting | Medium | 56 | 0.7% |
| 24 | Linked List Cycle Hash Table, Linked List, Two Pointers | Easy | 56 | 0.5% |
| 25 | Spiral Matrix Array, Matrix, Simulation | Medium | 56 | 0.6% |
| 26 | Two Sum Array, Hash Table | Easy | 56 | 0.6% |
| 27 | Kth Largest Element in an Array Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect | Medium | 56 | 0.7% |
| 28 | Merge Intervals Array, Sorting | Medium | 56 | 0.5% |
| 29 | Word Break Array, Hash Table, String, Dynamic Programming, Trie, Memoization | Medium | 56 | 0.5% |
| 30 | Number of Islands Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix | Medium | 56 | 0.6% |
| 31 | Linked List Cycle II Hash Table, Linked List, Two Pointers | Medium | 56 | 0.6% |
| 32 | Text Justification Array, String, Simulation | Hard | 56 | 0.5% |
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.