Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks

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

Category: programming

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 Search

Find Minimum in Rotated Sorted Array

Posted on May 7, 2019December 13, 2020 by WebRewrite

In this tutorial, I am going to discuss a very interesting problem find minimum in rotated sorted array. Given an array which is sorted in…

Share
Tweet
Share
0 Shares
Array

Merge Two Sorted Arrays into One Sorted Array

Posted on May 5, 2019May 5, 2019 by WebRewrite

Merge two sorted arrays into one sorted array. Given two sorted arrays, write a code to merge them in a sorted manner. Input: arr1 =…

Share
Tweet
Share
0 Shares

Posts pagination

Previous Page Page 1 … Page 27 Page 28 Page 29 … Page 59 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