JobsJob TrackerJob alerts

Goldman Sachs ยท 971 questions

All 971Coding 681System Design 47Low-Level Design 66Behavioral 42Product Sense 5
  • Balls and Bins Expected Number
  • Design and implement special stack data structureLow-Level Design
  • Method and variable overriding output analysisLow-Level Design
  • Immutable classes, Singleton pattern, and concurrency keywordsLow-Level Design
  • Describe an incident where you demonstrated leadership skillsBehavioral
  • Design multithreaded operationLow-Level Design
  • Design TwitterSystem Design
  • Introduction and company knowledgeBehavioral
  • HR and Technical DiscussionBehavioral
  • Design data structure for optimal stream operationsLow-Level Design
  • Graph concepts and applications
  • Probability of collision for N ants on a polygon
  • Estimation of future cricket bat sales
  • Three light switches and three bulbs puzzle
  • Java runtime and compile polymorphism
  • Make a class purely immutableLow-Level Design
  • Java deadlocks and singleton design patternLow-Level Design
  • Design TinyURLSystem Design
  • Java 8 features, ORMs vs SQL, and closures
  • OOP principles, Inheritance, and Sorting
  • Java interface, wrapper classes, and generics casting
  • OOP concepts including virtual functions and inheritanceLow-Level Design
  • 5 pirates puzzle and Manhattan subway probability puzzle
  • Card Payment Processing ServiceLow-Level Design
  • Low-Level Design of Stock Trade ExchangeLow-Level Design
  • Bayes theorem and stick cutting
  • Data structure selectionSystem Design
  • Finance customer problemProduct Sense
  • Wrongly Labelled Bags Ball Picking Puzzle
  • Design Stock Purchase Anomaly Detection SystemSystem Design
  • Sorting Algorithm Tradeoffs and Stability.
  • President leaking exam papers on social mediaBehavioral
  • Conference Room AllocationSystem Design
  • Designing a stackLow-Level Design
  • Design a utility payment systemLow-Level Design
  • Difference between Hashtable and Hashmap
  • Design most optimal data structure for a DictionaryLow-Level Design
  • Apriori and FP Growth Tree AlgorithmsProduct Sense
  • Design Library SystemSystem Design
  • Convert table from 1-NF to BCNFLow-Level Design
  • Diagonals and intersections in a regular n-gon
  • Minimum bus stations required without waiting
  • 100 Lockers and Students Puzzle
  • Knockout matches for wrestlers
  • Find the lighter ball among 9 balls with a balance scale
  • Database Sharding and PartitioningSystem Design
  • Spring Boot and Java Concepts
  • Project concept and technologiesBehavioral
  • Cloud computing overview and benefits
  • COVID-19 project ideaProduct Sense
  • Java Concepts and Design Patterns
  • JUnit and Java Custom Exceptions ScenarioLow-Level Design
  • Singleton Class DesignLow-Level Design
  • Java Equals, HashCode, JVM, and Immutable Objects
  • Classmate Wants to Contribute to Your ProjectBehavioral
  • Managing an Unfamiliar Group ProjectBehavioral
  • Taking a Stand Against Unconvinced LeadershipBehavioral
  • Overcoming Obstacles in a ProjectBehavioral
  • Handling Teammate Absence in a Two-Person ProjectBehavioral
  • Probability of Drawing Sequential Cards
  • Integrating into an established teamBehavioral
  • Probability of getting at least one head with two coins
  • Design a contact search system for fast 'search-as-you-type'Low-Level Design
  • Find the limit of the ratio of consecutive Fibonacci numbers
  • Optimal data structure for running median
  • Time complexity to find celebrity in a party
  • Java Garbage Collection and Custom Collector ImplementationLow-Level Design
  • Code to crash an Operating System
  • Find number ABCD where ABCD * 4 = DCBA
  • Heavy coin puzzle generalization
  • Crop Cultivation Decision Case StudyProduct Sense
  • Walk through your resume and introduce yourselfBehavioral
  • Why switch from Electronics to Operations?Behavioral
  • Describe the most difficult decision you had to makeBehavioral
  • What skills make you suitable for the Operations domain?Behavioral
  • Misplaced fruit boxes puzzle
  • Find lighter jar among 5 jars
  • Design module execution order given dependenciesLow-Level Design
  • 2 pills puzzle
  • 8 Marbles puzzle
  • Gold bar puzzle
  • Design parameters for deadlock detection functionLow-Level Design
  • Aptitude and Logical Reasoning Test
  • Computer Science Fundamentals (DSA, DBMS, OOPs)
  • Implement Doubleton and Tripleton patternsLow-Level Design
  • Test cases for a lift system and date logic
  • OOP Concepts and PolymorphismLow-Level Design
  • Design an Auctioning SystemSystem Design
  • Implement classes with inheritanceLow-Level Design
  • Find the different weight ball using balance scalesProduct Sense
  • Boat river bridge puzzle
  • Mumbai local travel estimation
  • Intern credit conflictBehavioral
  • Low-level design of an Ice Cream parlorLow-Level Design
  • Database scaling, ACID properties, and concurrency controlLow-Level Design
  • Execution order of dependent modulesSystem Design
  • Interface vs Abstract Class in JavaLow-Level Design
  • 8-piece marble and gold bar puzzles
  • Dynamic polymorphism and virtual classes in C++Low-Level Design
  • Pointers vs Reference variables in C++Low-Level Design
โ† Goldman Sachs questions
  1. Interview questions
  2. Goldman Sachs
  3. Designing a stack
Low-Level Design

Designing a stack

Filed under Goldman Sachs

The question

Design a stack data structure.

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

Related Goldman Sachs questions

  • Optimise a flawed table for redundancy and lookup speed
  • Design a Payment Gateway Service (LLD)
  • Design the backend of an employee details form
  • Implement your own deque in Java
  • Design a data structure for a scenario and implement your own hashmap
โ† Conference Room AllocationDesign a utility payment system โ†’

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