- Interview Questions
- /
- C3.ai
C3.ai LeetCode Interview Questions
Practice 46 real coding problems frequently asked in C3.ai technical interviews. Master these questions to ace your next C3.ai software engineering interview.
Top Topics at C3.ai
Ace your C3.ai interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
C3.ai Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Fraction to Recurring Decimal 100% | MediumM | Solve→ |
K-diff Pairs in an Array 89% | MediumM | Solve→ |
Find the Index of the First Occurrence in a String 85% | EasyE | Solve→ |
Koko Eating Bananas 84% | MediumM | Solve→ |
Find Peak Element 78% | MediumM | Solve→ |
Coin Change 75% | MediumM | Solve→ |
Largest Number 75% | MediumM | Solve→ |
Identify the Largest Outlier in an Array 74% | MediumM | Solve→ |
Unique Paths 73% | MediumM | Solve→ |
Custom Sort String 73% | MediumM | Solve→ |
Design HashMap 70% | EasyE | Solve→ |
Rotate Image 69% | MediumM | Solve→ |
Design Tic-Tac-Toe 69% | MediumM | Solve→ |
Longest Arithmetic Subsequence of Given Difference 64% | MediumM | Solve→ |
Merge Sorted Array 63% | EasyE | Solve→ |
Maximum Sum Circular Subarray 62% | MediumM | Solve→ |
Accounts Merge 62% | MediumM | Solve→ |
Combination Sum II 61% | MediumM | Solve→ |
Reverse Linked List 57% | EasyE | Solve→ |
First Unique Character in a String 53% | EasyE | Solve→ |
Two City Scheduling 52% | MediumM | Solve→ |
Count Unhappy Friends 51% | MediumM | Solve→ |
Find K Closest Elements 51% | MediumM | Solve→ |
Range Sum of BST 49% | EasyE | Solve→ |
Search in Rotated Sorted Array 47% | MediumM | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Valid Parentheses 46% | EasyE | Solve→ |
Word Search 45% | MediumM | Solve→ |
Remove All Occurrences of a Substring 45% | MediumM | Solve→ |
Longest Increasing Subsequence 45% | MediumM | Solve→ |
Move Pieces to Obtain a String 43% | MediumM | Solve→ |
Search a 2D Matrix 43% | MediumM | Solve→ |
Search Suggestions System 42% | MediumM | Solve→ |
Binary Search Tree Iterator 41% | MediumM | Solve→ |
Minimum Operations to Make Character Frequencies Equal 39% | HardH | Solve→ |
Random Pick with Weight 38% | MediumM | Solve→ |
Design Hit Counter 37% | MediumM | Solve→ |
Remove Stones to Minimize the Total 37% | MediumM | Solve→ |
Remove Nth Node From End of List 36% | MediumM | Solve→ |
Simplify Path 34% | MediumM | Solve→ |
Zero Array Transformation I 28% | MediumM | Solve→ |
Sqrt(x) 28% | EasyE | Solve→ |
All Nodes Distance K in Binary Tree 25% | MediumM | Solve→ |
The kth Factor of n 25% | MediumM | Solve→ |
Continuous Subarray Sum 25% | MediumM | Solve→ |
Best Time to Buy and Sell Stock IV 23% | HardH | Solve→ |
Palindromic Substrings 20% | MediumM | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does C3.ai ask in interviews?
C3.ai commonly asks 46 coding problems in technical interviews, including Fraction to Recurring Decimal, K-diff Pairs in an Array, Find the Index of the First Occurrence in a String. The difficulty breakdown is 8 Easy, 36 Medium, and 2 Hard problems.
How should I prepare for a C3.ai coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. C3.ai interviews typically emphasize Array and String. Practice explaining your thought process while coding.
What is the difficulty level of C3.ai coding interviews?
Based on our data, C3.ai interviews include 8 Easy (17%), 36 Medium (78%), and 2 Hard (4%) problems.
Ready to ace your C3.ai interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required