ProDeveloperTutorial.com
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G

ProDeveloperTutorial.com

  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G
ProDeveloperTutorial.com

What are You Looking For?

  • Coding Interview Questions
  • C++ Tutorial
  • 5G NR
  • DataStructure and Algorithms
ProDeveloperTutorial
onDecember 26, 2024

Given an array and a key element, find the number of continuous elements whose sum is greater than the key element.

Example: array = {1, 2, 3, 4, 5, 6, 7, 8, 9}; k = 30 Output: 4 This is because the sub array [6, 7, 8, 9] This problem can be solved with “two…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Given 2 strings, check if they are isomorphic strings.

2 strings are said to be isomorphic, if one letter in the first string can be replaced by another letter in the second string. Example 1:…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Given an array, find the majority element, solution in C++

A majority element, is an element that is repeated more than half of the times. Example: [1, 2, 3, 4, 4, 4, 4, 4, 5] Output: 4. Total number…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Find the minimum element from an array that is sorted and is rotated, solution in C++

Example 1: Input: [3,4,5,6,7,1,2] Output: 1 We shall use 2 pointers to solve this problem. Below are steps how the solution works: 1. Frist we…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Given an integer array, find the maximum product made from continuous elements in that array. Solution in C++

Example 1: Input: [2,3,-1,3] Output: 6 Explanation: [2,3] are continuous and has the largest product 6. The steps of the working of the…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

You are given a sentence, reverse the string word by word

Example: Input: “prodevelopertutorial is a good website”, Output: ” website good a is prodevelopertutorial”. The…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Given an expression in reverse polish notation, evaluate it and get the output in C++

In reverse polish notation, operands will be first followed by operators. For example, 2 – 3 in reverse polish notation will be 2 3 – 4 + 5…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Given an unsorted linked list, sort the list using merge sort.

Example: 3 -> 4 -> 5-> 1 -> 2 Output: 1 -> 2 -> 3 -> 4 -> 5 Merge sort is a divide and conquer algorithm. Here we…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Sort a linked list using insertion sort.

Sort a linked list using insertion sort. Example 1: Input: 4->2->1->3 Output: 1->2->3->4 Example 2: Input:…
Discover More
ProDeveloperTutorial
onDecember 26, 2024

Reorder list in to alternate nodes like first lowest and first highest.

Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You may not modify the values in the list’s nodes,…
Discover More

Posts pagination

Previous 1 … 109 110 111 … 129 Next
ProDeveloperTutorial.com
Tutorials and Programming Solutions
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G
© 2024 — ProDeveloperTutorial. All Rights Reserved.