Skip to content

CODE & ALGO

Real-World Examples

  • Latest Posts
  • Interview Questions
  • System Design
  • Concepts
  • Contact
  • About

Tag: Kadane’s algorithm

Interview Questions

Min Stack

Leetcode#155 Min Stack Problem Statement Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the MinStack class: You must implement a solution with O(1) time complexity for each function. Example 1: Constraints: Logic / Trick Two Stack Since we want to achieve time complexity of O(1) for all operations, we can […]

prakashsinghabody@gmail.com 10 months ago14/12/2024

Recent Posts

  • Kubernetes basic concepts in 5 mins
  • TikTok System Design Interview: Deep Dive Guide [2025]
  • Spotify System Design interview
  • What is difference between Authentication & Authorisation ?
  • Change Data Capture (CDC)

Tags

8 common pattern in software coding interview Arista interview question Binary Tree BFS Binary Tree DFS coding interview Computer science concepts Dependency injection principle design spotify golang Google Interview Questions Hash Table Interface segregation principal Kadane's algorithm leetcode leetcode#155 Liskov substitution principle Min Stack Modified Binary Search Open close principle Prefix sum Scalable design Single responsibility principle Sliding window Solid principles Spotify System Design interview string Subset Top K Elements Topological Sort Two Pointers
Copyright 2023. All rights reserved.
Theme By: Smarter Themes