Posts

Showing posts with the label coding interview questions

What is the sum of its maximum subarray?

Image
Were you trying to solve the maximum sum of contiguous subarray problems? Did you find It difficult and confusing? You are on time to read this article! Here we will discuss everything from the concept of a subarray to the ways of finding its maximum contiguous sum. With the help of this article, you will be easily able to solve questions where you need to find the subarrays for a given array or the   largest subarray with 0 sum s . In this article, we will discuss the following: What is a subarray? What are the methods of finding the maximum sum of a subarray? What is Kadane’s Algorithm? What is the Brute Force approach? Tips to keep in mind while solving the question. What is the  first unique character in a string?   What is a Subarray? Any subset of the original array’s indices can be used to define a subarray, and a contiguous subarray. A contiguous subarray is defined by an interval of indices, which includes the first and last elements as well as everything in betw...

Hexaview Technologies Interview Experience (On-Campus)

Image
Are you looking forward to getting a job at Hexaview Technologies but are not aware of the fundamentals that will help you to crack the interview? Preparing for an interview with such big companies can be stressful and chaotic without proper guidance.  So, in this article, we will look at a few  Hexaview Interview Questions  and a few tips about preparation.  These tips are based on previous interview experiences, but it is not necessary that only these types of questions will be asked in interviews. Interview questions are pretty dynamic in nature. This article is divided into 2 sections as follows: Interview structure and 20 interview questions. Tips for the preparation and the interviews. I will guide you throughout the article and provide essential based on my experience to clear the interview:    Interview structure and questions The interview is divided into 4 rounds. The rounds are as follows: Round 1: Coding Round [40 minutes, 2 coding questions] Ro...