Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks

Skip to content
Menu
  • Java
  • Data Structure
  • LeetCode
  • SOLID Principles
  • LLM Internals

Category: Stack

Java

Valid Parentheses String

Posted on May 14, 2020October 29, 2020 by WebRewrite

Valid parentheses string with wildcard. Given a string containing only three types of characters: ‘(‘, ‘)’ and ‘*’.  Write a function to check whether this…

Share
Tweet
Share
0 Shares
InterviewQuestions

Find the Maximum Element in a Stack in O(1)

Posted on May 25, 2019March 8, 2022 by WebRewrite

Find the maximum element in a stack in O(1) (constant time). Design a stack to get the maximum element from a stack in constant time.…

Share
Tweet
Share
0 Shares
Binary Tree

Binary Tree Inorder Traversal without Recursion using Stack

Posted on May 2, 2019March 29, 2021 by WebRewrite

In this tutorial, I am going to discuss binary tree inorder traversal without recursion. Given a binary tree, write a code to print the Inorder…

Share
Tweet
Share
0 Shares

Posts pagination

Previous Page Page 1 Page 2 Page 3 … Page 5 Next Page

Search

Support Me on PayPal

Programming Video Tutorials


Related Posts (YARPP)

  1. Find Second Largest Number in Array
  2. Check Balanced Parentheses in an Expression
  3. Sum of Digits of a Number using Recursion – Java Code
  4. Java Program to Count Number of Words in a String

Topics

  • Multithreading

  • Linked List

  • Binary Tree

  • Hash Map

  • Java

  • Queue

  • Stack

  • Binary Search

  • Programming

  • Sliding Window

  • Composer

  • Memcache

  • Javascript

  • Solid Principles

© Copyright 2026 – Web Rewrite
Wisteria Theme by WPFriendship ⋅ Powered by WordPress