Skip to content

PrepBytes Blog

ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING

Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Data Structure
    • Languages
    • Algorithms
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Queue
      • Segment Tree
      • Stack
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String

Tag: Sorting

Sorting interview programming

Find the Window

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Medium Problem Statement (Simplified): Find the minimum length of the subarray when sorted completely sorts the given array. See original problem statement here Test Case...
Sorting interview programming

Search Triplets

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Medium Problem Statement (Simplified): We have to find a triplet (n_{1}, n_{2}, n_{3}) in array such that sum of two number i.e. n_{1}+n_{2} equals to...
Sorting interview programming

Salvation of Soul

ShailyJune 10, 2020March 30, 2022
Concepts Used Sorting Difficulty Level Medium Problem Statement (Simplified): For a given array, shift elements to the back of array until you get the minimum value of the whole array,...
Sorting interview programming

Hometown Newspaper

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Medium Problem Statement (Simplified): Print the Strings according to their priority and category. If string belongs to hometown, it will have a priority higher than...
Sorting interview programming

Minimum Dissatisfaction

ShailyJune 10, 2020March 30, 2022
Concepts Used Sorting, Mathematics Difficulty Level Hard Problem Statement (Simplified): For a given of N students, we are given two values P_{i} and Q_{i}. Find the minimum possible sum of...
Sorting interview programming

Maximum Sum Rupees

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Hard Problem Statement (Simplified): We have to find the maximum sum of elements from two arrays, such that you can select elements to add only...
Sorting interview programming

Maximum Divisors in a Range

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Hard, Mathematics Problem Statement (Simplified): For a given range p and q, find the highest common factor of two given numbers, i.e. a and b....
Sorting interview programming

Find the Inversion Count

ShailyJune 10, 2020June 17, 2022
Concepts Used Sorting Difficulty Level Hard Problem Statement (Simplified): Find number of pairs such that a[i] > a[j] and i < j. Test Case Input: 1 5 10 50 20...
Sorting competitive programming

Chocolates

ShailyJune 10, 2020March 28, 2022
Concepts Used Sorting Difficulty Level Medium Problem Statement (Simplified): For given values of N and K, an array of N elements is given. You can pick at most K items...

Categories

Pages

  • #8536 (no title)
  • ACCENTURE
  • ADOBE
  • ALGORITHMS
  • AMDOCS
  • APPLE
  • ARRAY
  • ARRAY COMPETITIVE CODING QUESTIONS
  • ARRAY INTERVIEW QUESTIONS
  • BACKTRACKING
  • BACKTRACKING COMPETITIVE CODING QUESTIONS
  • BACKTRACKING INTERVIEW QUESTIONS
  • BYJU’S
  • C INTERVIEW QUESTIONS
  • C PROGRAMMING LANGUAGE
  • C++ INTERVIEW QUESTIONS
  • C++ PROGRAMMING LANGUAGE
  • COMPANY PLACEMENT PROCEDURE
  • COMPETITIVE CODING
  • COMPUTATIONAL GEOMETRY
  • COMPUTATIONAL GEOMETRY COMPETITIVE CODING QUESTIONS
  • CSE SUBJECTS
  • DATA STRUCTURE
  • DELL
  • DESHAW
  • DYNAMIC PROGRAMMING
  • DYNAMIC PROGRAMMING COMPETITIVE CODING QUESTIONS
  • DYNAMIC PROGRAMMING INTERVIEW QUESTIONS
  • FACEBOOK
  • FLIPKART
  • GAME THEORY
  • GAME THEORY COMPETITIVE CODING QUESTIONS
  • General Interview Questions
  • GOLDMAN SACHS
  • GOOGLE
  • GRAPH COMPETITIVE CODING QUESTIONS
  • GRAPH INTERVIEW QUESTIONS
  • GRAPHS
  • GREEDY ALGORITHM
  • GREEDY ALGORITHM COMPETITIVE CODING QUESTIONS
  • GREEDY ALGORITHM INTERVIEW QUESTIONS
  • HASHING
  • HCL
  • HEAP
  • HEAP COMPETITIVE CODING QUESTIONS
  • HEAP INTERVIEW QUESTIONS
  • INFOSYS
  • INTERVIEW PREPARATION
  • INTERVIEW TIPS
  • INTUIT
  • JAVA INTERVIEW QUESTIONS
  • JAVA PROGRAMMING LANGUAGE
  • JAVASCRIPT PROGRAMMING LANGUAGE
  • JUSPAY
  • LINKED LIST
  • LINKED LIST INTERVIEW QUESTIONS
  • MAHINDRA COMVIVA
  • MAKEMYTRIP
  • MATHEMATICS
  • MATHEMATICS COMPETITIVE CODING QUESTIONS
  • MATHEMATICS INTERVIEW QUESTIONS
  • MICROSOFT
  • NAGARRO
  • OPERATING SYSTEM
  • ORACLE
  • OTHER TOPICS
  • PAYTM
  • Pin Posts
  • POINTERS
  • POINTERS COMPETITIVE CODING QUESTIONS
  • PROGRAMMING LANGUAGE
  • PYTHON PROGRAMMING LANGUAGE
  • QUALCOMM
  • QUEUE
  • QUEUE COMPETITIVE CODING QUESTIONS
  • QUEUE INTERVIEW QUESTIONS
  • RECURSION
  • RECURSION COMPETITIVE CODING QUESTIONS
  • RECURSION INTERVIEW QUESTIONS
  • SAMSUNG
  • SAP LABS
  • SEARCHING
  • SEARCHING COMPETITIVE CODING QUESTIONS
  • SEARCHING INTERVIEW QUESTIONS
  • SEGMENT TREE
  • SEGMENT TREE COMPETITIVE CODING QUESTIONS
  • SEGMENT TREE INTERVIEW QUESTIONS
  • SORTING
  • SORTING COMPETITIVE CODING QUESTIONS
  • SORTING INTERVIEW QUESTIONS
  • STACK
  • STACK COMPETITIVE CODING QUESTIONS
  • STACK INTERVIEW QUESTIONS
  • STRING
  • STRING COMPETITIVE CODING QUESTIONS
  • STRING INTERVIEW QUESTIONS
  • TCS
  • TREE COMPETITIVE CODING QUESTIONS
  • TREE INTERVIEW QUESTIONS
  • TREES
  • TRIES COMPETITIVE CODING QUESTIONS
  • WIPRO
  • ZOHO CORP
Close
Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Data Structure
    • Languages
    • Algorithms
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Queue
      • Segment Tree
      • Stack
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String
FOLLOW US
CONTACT US
+91-8800 2588 17
contact@prepbytes.com
QUICK LINKS
Interview NotesMock TestsPlacement ProgrammeCoding CoursesMock InterviewAbout UsBlog