JobsJob TrackerJob alerts

MathWorks ยท 54 questions

All 54Coding 41Low-Level Design 4Behavioral 8Product Sense 1
  • Count elements in second array less than or equal to each in firstCoding
  • Maximum length of word chain by deleting charactersCoding
  • Detect cycle in graph and find max width of binary treeCoding
  • Max length of substring of 1s after k substring reversalsCoding
  • Minimum Swaps to Sort Array and Character TimingsCoding
  • Data Structures Complexities and ImplementationCoding
  • Personal Background and Career GoalsBehavioral
  • Project Experience and TeamworkBehavioral
  • Reverse Nodes in k-GroupCoding
  • Middle of the Linked ListCoding
  • Remove Nth Node From End of ListCoding
  • Task SchedulerCoding
  • Queue using StacksCoding
  • Write a power functionCoding
  • Reverse a singly linked listCoding
  • Merge k sorted linked listsCoding
  • Difference between semaphore and mutex lockLow-Level Design
  • Longest String ChainCoding
  • Beautiful ArrangementCoding
  • Left Leaves Sum of Binary TreeCoding
  • Sorting an Array Using Flip FunctionCoding
  • Maximum Difference Between Increasing ElementsCoding
  • Stack Coding QuestionCoding
  • Minimum Cost Tree From Leaf ValuesCoding
  • Hotel Reservation System and Group AnagramsLow-Level Design
  • Movie Reservation System DesignLow-Level Design
  • Reverse Linked List, K-Group Nodes, and Shortest Distance VariationCoding
  • Binary Sequence Sum BalanceCoding
  • Knight's Minimum StepsCoding
  • Sort Queue Without Extra SpaceCoding
  • Maximum Sum Non-AdjacentCoding
  • Demonstrating Ethical IntegrityBehavioral
  • Subset sum optimizationCoding
  • Minimum moves to equalize arrayCoding
  • Nth from End of Linked List and Most Frequent Tree ElementCoding
  • Reduced Fraction SumsCoding
  • Tom and Jerry Shortest Maze Path with CheeseCoding
  • Private Constructor and Object CreationCoding
  • Lambda for Integer SumCoding
  • HackerRank Coding SectionCoding
  • EDG Role DiscussionBehavioral
  • Introduction and Situational QuestionsBehavioral
  • Role Elaboration and Team Leading SkillsBehavioral
  • HackerRank Coding Problem with ApproachCoding
  • Need for more new IITs in IndiaProduct Sense
  • HR and Behavioral DiscussionBehavioral
  • Managerial ConversationBehavioral
  • Sum of all leaf nodes in a binary treeCoding
  • Find number of islands in a matrixCoding
  • Two Sum ProblemCoding
  • Palindrome CheckCoding
  • House RobberCoding
  • Vehicle Data Structure ImplementationLow-Level Design
  • DFS on an arrayCoding
โ† MathWorks questions
  1. Interview questions
  2. MathWorks
  3. Stack Coding Question
CodingMedium

Stack Coding Question

Filed under MathWorks

The question

Solve a medium-difficulty problem utilizing stack data structure.

No write-up yet. Related questions below have one.

Related MathWorks questions

  • Count elements in second array less than or equal to each in first
  • Maximum length of word chain by deleting characters
  • Detect cycle in graph and find max width of binary tree
  • Max length of substring of 1s after k substring reversals
  • Minimum Swaps to Sort Array and Character Timings
โ† Maximum Difference Between Increasing ElementsMinimum Cost Tree From Leaf Values โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.