Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks

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

Tag: Java

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
Array

Binary Tree Level Order Traversal

Posted on April 20, 2019March 28, 2020 by WebRewrite

Given a binary tree, print the level order traversal of its node’s values. For example: Given below binary tree, the level order traversal of this…

Share
Tweet
Share
0 Shares
Binary Search

Single Element in a Sorted Array

Posted on April 14, 2019March 8, 2022 by WebRewrite

Single Element in a Sorted Array. Find the element that appears once in a sorted array where every other element appears twice. Given a sorted…

Share
Tweet
Share
0 Shares

Posts pagination

Previous Page Page 1 … Page 9 Page 10 Page 11 … Page 23 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