All Medium Articles
The Bash has three types of looping constructs namely for, while, and until. The Until loop is used to iterate over a block of commands… Read More
Lambda function can have multiple parameters but have only one expression. This one expression is evaluated and returned. Thus, We can use lambda functions as… Read More
Correlation generally determines the relationship between two variables. Correlation is calculated between the variable and itself at previous time steps, such a correlation is called… Read More
Given string str of size N containing only lowercase English letters. The task is to encrypt the string such that the substrings having same prefix… Read More
Comprehension: Answer the following questions (55 – 59) based on flow graph F. A flow graph F with entry node (1) and exit node (11)… Read More
Given string str containing both uppercase and lowercase letters, and an integer K. The task is to find the longest substring containing exactly K vowels… Read More
Given an N-ary tree. The task is to replace the values of each node with the sum of all its subtrees and the node itself. … Read More
Given a string str of length of N that is in the encoded form with alphabets and * . The task is to find the… Read More
Round 1(Online Coding Test): 3 questions in 1:30 hrs. Platform was Hackerearth. I don’t remember the questions that were asked in the coding test but… Read More
I had applied for Mindtree Software Engineer C1 (Off-Campus) in the first week of November. The entire process was conducted on WeCP platform, in which… Read More
Recruitment Process: Nagarro came to our campus on 18 OCT 2021 for recruitment offering 2 positions SD and CSD. For that we have to go… Read More
Eligibility Branch: Open To all (No branch bias at all) (B.Tech + idd) CGPA: 7.8 Verdict: Waitlist Online Test: There were total of 4 questions.… Read More
Given a binary string str, the task is to find the count of K length subarrays containing only 1s. Examples: Input: str = “0101000”, K=1Output:… Read More
In our previous article, we learned how to set up dagger in an Android project with a multi-module architecture. Click here to see how we… Read More
In Kotlin, we can have functions as expressions by creating lambdas. Lambdas are function literals that is, they are not declared as they are expressions… Read More
We are given a row-wise sorted matrix of size r*c, we need to find the median of the matrix given. It is assumed that r*c… Read More
Compaction is a technique to collect all the free memory present in the form of fragments into one large chunk of free memory, which can… Read More
Port Blocking is the action performed by an Internet Service Provider (ISP) to identify and block the Internet traffic by using the Port Number and… Read More
Given an array arr[] of integers of size N, the task is to maximize the sum of the array after removing valleys from the array… Read More
Given an array arr[] of size N, the task is to find the sum of medians of all sub-array of odd-length. Examples: Input: arr[] =… Read More