Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks

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

Sort Characters by Frequency

Posted on July 13, 2019March 29, 2021 by WebRewrite

In this tutorial, I am going to discuss a very interesting problem sort characters by frequency. Given a string, write a method to sort it…

Array

Find Peak Element in Array

Posted on June 27, 2019January 26, 2022 by WebRewrite

Given an array of integers, write a code to find peak element in array. The array may contain multiple peak elements, in that case, return…

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.…

Posts pagination

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