Problem Statement: You are given an arrya of repeating elements. You need to find and print the majority element. An element that appears more tha n/2 times, is called as majority element. Example Input : {3, 3, 4, 2, 4, 4, 2, 4, 4} Output : …
Problem Statement: Given an unsorted array, check if it is palindrome array or not. Example: arr = {1, 2, 0, 2, 1} Output: Palindrome Solution: The solution is very simple, below are the steps to be follow: 1. We take 2 pointer, first pointer will …
Problem Statement: Given an unsorted array, you need to find 3 elements whose sum is the minimum. Example: arr = {-1, 2, 3, -2}; Output: -1 The elements are: -1, -2, 2 The solution in very simple, take 3 variables that will hold minimum, second minimum …
Problem Statement: You are given with 2 sorted arrays, you need to merge the array in-place. You may assume that the first array will have enough space to accomodate all the array elements. Example: Input: arr1 = arr2 = Output: According to the question, we …
Problem Statement: You are given an array, you need to check if there are 3 consecutive odds exist. If exist then return true else false. Example Input: arr = Output: false Solution The solution is very simple. Just iterate throught the array and check if …
Problem Statement: You are given an array, you need to check if a number and its double exist in that array. Example Input arr = {10, 2, 5, 3} Output: True N = 5 M = 10. 5*2 = 10. So there exist 2 integers, such …
Problem Statement: You are given an integer n. You need to return the integers that sum upto 0. Example Input: n = 5 Output: {-5, -1, 1, 2, 3} Solution Method 1: In this method, we will use the numbers from 1, 2, .. n-1 …
Problem Statement: You are given an array of integers. You need to return the count of the numbers that has even number of digits. Example Input arr = {12, 123, 1234, 12345, 123456} Output: 3 The numbers {12, 1234, 123456} has even digits. Solution …
A single Central Unit can be connected to multiple Distributed Units. CU-CP will have RRC, PDCP CU-UP will have SDAP, PDCP Distributed Units will include RLC, MAC, H-PHY. F1 interface is used to cinnect between DU and CU. eCPRI is connected to H-PHY and L-PHY. CPRI …
In previous chapter we shall learned about RRU, BBU, CU, DU fronthaul, midhaul; In this chapter we shall learn about: D-RAN C-RAN cloud RAN vRAN oRAN D-RAN vs C-RAN vs vRAN vs O-RAN What is D-RAN? DRAN stands for “Distributed RAN”. In this type, RRU and …