Great Kapital interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Great Kapital
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
Starting with coding basics, I explored various programming languages and data structures. Enrolling in online courses, I built projects to enhance my skills. Networking on LinkedIn, I discovered the SDE Intern opening at Great Kapital. Focused on their requirements, I tailored my resume and practiced interview questions. After rigorous preparation, I applied, aced the technical rounds, and was impressed during the interviews. Grateful for the opportunity, and I look forward to contributing my best to Great Kapital's success.
Application story
I applied for the SDE Intern role at Great Kapital through LinkedIn, submitting my tailored resume and a personalized cover letter expressing my passion for the company. Shortly after, I received an email acknowledging my application and inviting me for the first technical interview. The first interview was an intensive 70-minute session, assessing my coding skills and problem-solving abilities. Succeeding that, I was invited for the second interview, an insightful 30-minute conversation with the CTO, where we discussed my technical expertise and aspirations. The entire application journey was engaging and challenging, and I am grateful for the opportunity to showcase my abilities and potential at Great Kapital.
Why selected/rejected for the role?
I was thrilled to be selected for the role of SDE Intern at Great Kapital, and I believe my selection was a result of my strong technical skills, impressive projects on my resume, and a solid foundation in Spring Boot, OOPs, and Java. I had dedicated significant time and effort to honing my coding abilities and developing real-world projects that showcased my expertise. During the interviews, I felt confident in my problem-solving skills, and I thoroughly enjoyed tackling the challenges presented. It was gratifying to see my hard work and passion for programming being recognized, and I am excited to contribute my skills to Great Kapital's innovative team.
Preparation
Duration: 3 months
Topics: Java, Spring boot, Data structures, OOPS. DBMS
Tip
Tip

Tip 1: Strengthen your DSA problem-solving skills.
Tip 2: Do at least 200 questions on coding platforms.
Tip 3: Keep at least 2 projects on your resume.

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Have some projects on your resume.
Tip 2: Put the things highlighted on the resume that match the requirements of the company.

Interview rounds

01
Round
Medium
Online Coding Test
Duration70 minutes
Interview date23 Nov 2022
Coding problem2

The interview timing was okay. The environment was also so good. The interviewer was very supportive.

1. Sorting Characters By Frequency

Moderate
25m average time
75% success
0/80
Asked in companies
Info Edge India (Naukri.com)AdobeUber

You have been given a string ‘S’.


You must return the string ‘S’ sorted in decreasing order based on the frequency of characters.

If there are multiple answers, return any of them.


Example :
Let 'S'= “abAb”. 

Here the characters ‘a’ and ‘A’ have frequency 1 and character ‘b’ has frequency ‘2’.  

Therefore the sorted string is “bbAa”. 
Problem approach

Stepwise solution for the given problem:

1. Initialize an empty dictionary to store the frequency of each character in the string.
2. Loop through the characters in the given string str.
3. For each character encountered:
a. Check if it exists in the dictionary.
b. If it does not exist, add it to the dictionary with a frequency of 1.
c. If it exists, increment its frequency by 1.
4. After processing all characters in the string, you will have a dictionary containing the frequency of each character in the order of their occurrence in the string.
5. Iterate through the dictionary and print the characters along with their frequencies in the given format.

Try solving now

2. Find Peak Element

Easy
15m average time
85% success
0/40
Asked in companies
GrabDunzoHike

You are given an array 'arr' of length 'n'. Find the index(0-based) of a peak element in the array. If there are multiple peak numbers, return the index of any peak number.


Peak element is defined as that element that is greater than both of its neighbors. If 'arr[i]' is the peak element, 'arr[i - 1]' < 'arr[i]' and 'arr[i + 1]' < 'arr[i]'.


Assume 'arr[-1]' and 'arr[n]' as negative infinity.


Note:
1.  There are no 2 adjacent elements having same value (as mentioned in the constraints).
2.  Do not print anything, just return the index of the peak element (0 - indexed).
3. 'True'/'False' will be printed depending on whether your answer is correct or not.


Example:

Input: 'arr' = [1, 8, 1, 5, 3]

Output: 3

Explanation: There are two possible answers. Both 8 and 5 are peak elements, so the correct answers are their positions, 1 and 3.


Problem approach

Stepwise solution for finding a peak element in an array without coding:

1. Initialize two pointers, left and right, to the first and last indices of the array, respectively.
2. Enter a loop until the left pointer is less than or equal to the right pointer.
3. Calculate the mid index as (left + right) / 2.
4. Check if the element at the mid index is a peak element:
If the mid element is greater than or equal to its neighbors, i.e., A[mid] >= A[mid-1] and A[mid] >= 
A[mid+1], then A[mid] is a peak element.
If A[mid-1] > A[mid], move the right pointer to mid - 1. 
If A[mid+1] > A[mid], move the left pointer to mid + 1.
5. Repeat steps 3-4 until a peak element is found or the left pointer becomes greater than the right pointer.
6. If a peak element is found, return its index.
7. If no peak element is found, it means the array is either entirely increasing or decreasing. In this case, you can return any index as there might be multiple peak elements.

Try solving now
02
Round
Medium
Video Call
Duration45 minutes
Interview date10 Jan 2023
Coding problem3

It was a CTO round. It was at 10 am. He asked me 1 coding question and asked about my background.

1. Find All Triplets With Zero Sum

Moderate
30m average time
50% success
0/80
Asked in companies
MicrosoftFacebookDunzo

You are given an array Arr consisting of n integers, you need to find all the distinct triplets present in the array which adds up to zero.

An array is said to have a triplet {arr[i], arr[j], arr[k]} with 0 sum if there exists three indices i, j and k such that i!=j, j!=k and i!=k and arr[i] + arr[j] + arr[k] = 0.

Note :
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then (2, -3, 1), (-3, 2, 1) etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

1. Sort the given integer array nums in ascending order. Sorting helps in avoiding duplicate triplets and allows us to find triplets efficiently.

2. Initialize an empty list to store the result, which will contain the triplets whose sum is zero.

3. Iterate through the sorted array using a loop from i=0 to i=n-3, where n is the size of the array.

4. For each element at index i, consider it as the first element of the potential triplet.

5. Use two-pointers approach (left and right pointers) inside the loop for the remaining subarray after index i.

6. The left pointer (j) starts at i+1, and the right pointer (k) starts at the last element of the array.

7. Calculate the sum curr_sum of the elements at nums[i], nums[j], and nums[k].

8. Check the following conditions:

If curr_sum is equal to 0, add the triplet [nums[i], nums[j], nums[k]] to the result list.
If curr_sum is less than 0, increment the left pointer (j) to explore larger values.
If curr_sum is greater than 0, decrement the right pointer (k) to explore smaller values.
9. Continue steps 7-8 until the left pointer (j) is less than the right pointer (k).

10. Move the index i until the next unique element is encountered to avoid duplicate triplets.

11. Repeat steps 4-10 until all elements have been processed.

12. Return the result list containing the triplets whose sum is zero.

Try solving now

2. DBMS Question

What are ACID Properties? Why they are important? (Learn)

Problem approach

Answer - ACID properties are fundamental principles in database management that ensure reliable and consistent transactions.

Atomicity ensures that a transaction is treated as a single unit, where all operations are completed successfully, or none are applied.
Consistency maintains the validity of the database, transitioning from one valid state to another after a transaction.
Isolation ensures each transaction is executed independently, isolated from other transactions until committed.
Durability guarantees that committed transactions are permanent and will survive system failures.

3. Project based question

What tech-stack have you used in your projects?

Problem approach

Tip 1 : Be confident while explaining your resume projects.
Tip 2 : Keep the project in running state beforehand.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
961 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes