Upload Button Icon Add office photos

Filter interviews by

CodeNation Interview Questions, Process, and Tips

Updated 20 Sep 2021

Top CodeNation Interview Questions and Answers

View all 7 questions

CodeNation Interview Experiences

Popular Designations

4 interviews found

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Hard

The test was from 10 pm to 11:30 pm at night, Since we had to give the test from home so it was not an uncomfortable timing for me. The test was conducted on hackerrank. Personally I find Hackerrank a better test platform than others like Amcat or Mettle.

  • Q1. 

    Minimum Fountains Activation Problem

    In this problem, you have a one-dimensional garden of length 'N'. Each position from 0 to 'N' has a fountain that can provide water to the garden up to a certain range...

  • Ans. 

    Find the minimum number of fountains to activate to water the entire garden.

    • Iterate through the array to find the coverage of each fountain.

    • Keep track of the farthest coverage reached by activating fountains.

    • Activate the fountain that covers the farthest distance to minimize the number of fountains activated.

  • Answered by AI
  • Q2. 

    Count Inversions Problem Statement

    Given an integer array ARR of size N, your task is to find the total number of inversions that exist in the array.

    An inversion is defined for a pair of integers in the...

  • Ans. 

    Count the total number of inversions in an integer array.

    • Iterate through the array and for each pair of elements, check if the inversion condition is met.

    • Use a nested loop to compare each pair of elements efficiently.

    • Keep a count of the inversions found and return the total count at the end.

  • Answered by AI
  • Q3. 

    Array Transformation Problem

    Given an array ARR consisting of N integers and a non-negative integer K. An operation on the array replaces each element ELE with MX - ELE, where MX is the maximum element of...

  • Ans. 

    Given an array and a non-negative integer K, perform K operations on the array by replacing each element with MX - element, where MX is the maximum element of the array.

    • Find the maximum element in the array.

    • Perform the operation on each element K times.

    • Update the array after each operation.

    • Print the transformed array elements after K operations.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Hard

This interview was at 10 am in the morning and was taken by a SDE 3 of the company who had a very great background in Competitive Coding.
The interview started with me introducing myself. The interviewer then gave me a google doc which had 2 coding questions written . He asked me to go through the first question and explain the approach. After which he asked me to code the solution as well. Same procedure was followed for the second question. The most difficult part in using Google Doc to write code is that it doesn't has automatic indentation like the code editors, so I had to put much efforts in keeping my code readable.

  • Q1. 

    Count Distinct Bitwise OR of All Subarrays

    Given an array of positive integers, determine the number of distinct values obtained by applying the bitwise OR operation on all possible subarrays.

    Explanatio...

  • Ans. 

    Count distinct values obtained by applying bitwise OR operation on all possible subarrays of an array of positive integers.

    • Use a set to store distinct values obtained by bitwise OR operation on all subarrays.

    • Iterate through all subarrays efficiently to calculate distinct values.

    • Optimize the solution to handle large input sizes efficiently.

    • Handle bitwise OR operation on subarrays using bitwise operators.

    • Consider using d...

  • Answered by AI
  • Q2. 

    Graph Coloring Problem

    You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. Your task is to color this graph using two colors, such as blue and red, in a way that no two adjacen...

  • Ans. 

    The task is to color a graph with two colors in a way that no two adjacent vertices share the same color.

    • Check if the graph can be colored using two colors without any adjacent vertices sharing the same color.

    • Use graph coloring algorithms like BFS or DFS to solve the problem.

    • If there are odd cycles in the graph, it is not possible to color the graph as described.

    • If the graph is bipartite, then it is possible to color t

  • Answered by AI
Round 3 - HR 

Round duration - 60 minutes
Round difficulty - Hard

The round was at 4 pm evening. This round was taken by one of the Vice President of the company, this made me anxious from the very beginning.
The interviewer was a knowledgeable man and had great knowledge in every field. He always demanded exact answers.
The round started with my resume walk through. Then came open ended questions followed by a system design question in which I failed miserably.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Maulana Azad National Institute of Technology, Bhopal. Eligibility criteriaNo criteriaCodenation interview preparation:Topics to prepare for the interview - Data Structures, System Design, Graphs, OOPS, Advance Data StructuresTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : For company like codenation you need to be great in competitive programming as the online test is very difficult to crack
Tip 2 : Focus on leetcode during final months of preparation of interview
Tip 3 : Try to have at least 3 flagship projects in at least 2 different domains

Application resume tips for other job seekers

Tip 1 : Keep the resume clean with good text to space ratio.
Tip 2 : Don't mention tech slacks that you have only a little knowledge about as it can backfire if the interviewer is good in that tech slack.

Final outcome of the interviewRejected

Skills evaluated in this interview

Top CodeNation Software Developer Intern Interview Questions and Answers

Q1. Minimum Fountains Activation Problem In this problem, you have a one-dimensional garden of length 'N'. Each position from 0 to 'N' has a fountain that can provide water to the garden up to a certain range. Thus, there are 'N' + 1 fountains ... read more
View answer (1)

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an array ARR of size N, your objective is to determine the sum of the largest and smallest elements within the array. Follow Up: Can you achieve the above task using the least numb... read more
View answer (5)

Interview Questionnaire 

1 Question

  • Q1. Based on binary search

Interview Preparation Tips

Interview preparation tips for other job seekers - It was great

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

I was interviewed before Sep 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Medium

This was a straight coding round with three questions , I was able to solve all 3

  • Q1. 

    Kth Largest Number Problem Statement

    You are given a continuous stream of numbers, and the task is to determine the kth largest number at any moment during the stream.

    Explanation:

    A specialized data st...

  • Ans. 

    Design a data structure to find the kth largest number in a continuous stream of integers.

    • Design a specialized data structure to handle continuous stream of numbers

    • Implement add(DATA) function to add integers to the pool

    • Implement getKthLargest() function to retrieve the kth largest number

    • Maintain the pool of numbers and update it based on queries

    • Output the kth largest number for each Type 2 query

  • Answered by AI
  • Q2. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

  • Ans. 

    Find all possible paths for a rat in a maze from source to destination.

    • Use backtracking to explore all possible paths in the maze.

    • Keep track of visited cells to avoid revisiting them.

    • Recursively try moving in all directions (up, down, left, right) until reaching the destination.

    • Add the valid path to the result list when the destination is reached.

    • Sort the result list in alphabetical order before returning.

  • Answered by AI
Round 2 - Video Call 

Round duration - 60 Minutes
Round difficulty - Medium

As this was my first system design round, I was not expecting to be able to tell anything , but to my surprize he interested in just the idea what I can think , how I can solve some issues which need not be definitely to have a solution / or multiple solutions are possible from common sense.

I was given an Idea based question

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in BangaloreEligibility criteriado pretty great in the coding testCodenation interview preparation:Topics to prepare for the interview - Dynamic Programming, Binary Search, Data Structures, Trees, GraphsTime required to prepare for the interview - 1 MonthInterview preparation tips for other job seekers

Tip 1 : Be focused on the question and keep trying, Project needs to be well understood and somewhat on your tips. 
Tip 2 : Don't code till you are sure and got a green signal about the efficiency and correctness of logic
Tip 3 : Just brush up your DS basics and some logical algorithms (Dijkstra, Shortest spanning tree , etc)

Application resume tips for other job seekers

Tip 1 : Experience must be highlighted, or the Project whichever you would like to discuss
Tip 2 : Links are always a great way to show your work (deployed/code)

Final outcome of the interviewSelected

Skills evaluated in this interview

Top CodeNation Software Developer Intern Interview Questions and Answers

Q1. Minimum Fountains Activation Problem In this problem, you have a one-dimensional garden of length 'N'. Each position from 0 to 'N' has a fountain that can provide water to the garden up to a certain range. Thus, there are 'N' + 1 fountains ... read more
View answer (1)

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an array ARR of size N, your objective is to determine the sum of the largest and smallest elements within the array. Follow Up: Can you achieve the above task using the least numb... read more
View answer (5)

Interview Preparation Tips

Round: DEBBUGING ROUND
Experience: A separate debugging (also on Hackerrank )round was conducted.

Round: Technical Interview
Experience: 2 rounds Technical interviews (1-2 hours each ,online on Skype and Hangouts )

General Tips: 1) Start practicing on codechef.com as early as possible (even first years). Go to the Practice Section -> Easy problems and start solving from bottom to top.
2) Participate in Codechef Long and short contests every month
3) Once you are good familiar with basic algorithms you can also solve problems on Hackerrank and Codeforces.
4) I do not prefer reading books. Best resource for learning algorithms is search on Google and see the top 3-4 links.Personal blogs and sites like leetcode and TopCoder tutorials are helpful.
5) Once you are comfortable with coding, you can refer to GeeksforGeeks and CareerCup in the last few weeks to practice company specific questions
6) Try to do at least one course every semester from a MOOC like edx.org , coursera.org .
Skills:
College Name: NIT Surathkal

SDE (Software Development Engineer) Interview Questions asked at other Companies

Q1. A string is given consisting of lowercase alphabets. Write a function which returns yes if the string has all the lowercase letters appearing in it at least once. O(N) time and without using extra space
View answer (3)

CodeNation interview questions for popular designations

 Software Developer Intern

 (2)

 Software Developer

 (1)

 SDE (Software Development Engineer)

 (1)

Interview questions from similar companies

I was interviewed before Sep 2016.

Interview Preparation Tips

Round: Test
Experience: This was a group test. We were asked to answer and complete all questions from both sections. Test was conducted in TCS campus in Pune
Tips: Learning basic level Maths and English will help clear this test
Duration: 2 hours
Total Questions: 45

Round: Test Selection
Experience: This was a direct shortlist from all who cleared the test

College Name: Sinhgad Academy of Engineering

I was interviewed in Feb 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

It is from 12 to 1:30 pm. Environment was very friendly and interviewer was very nice.

  • Q1. 

    Nth Term of Geometric Progression Problem

    Given the first term A, the common ratio R, and an integer N, your task is to find the Nth term of a geometric progression (GP) series.

    Explanation:

    The general...

  • Ans. 

    Calculate the Nth term of a geometric progression series modulo 10^9 + 7.

    • Use the formula A * R^(N-1) to find the Nth term of the GP series.

    • Remember to calculate the result modulo 10^9 + 7.

    • Handle multiple test cases efficiently to stay within the time limit.

  • Answered by AI
Round 2 - Face to Face 

Round duration - 90 minutes
Round difficulty - Easy

Very friendly environment 

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Netaji Subhas University Of Technology. I applied for the job as SDE - Intern in GurgaonEligibility criteriaAbove 6 CGPAWipro Limited interview preparation:Topics to prepare for the interview - Array,Recursion,Maths,Pointer and stringsTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Practice DS algorithm
Tip 2 : Practice as many question you can 
Tip 3 : Also practice different MCQ question

Application resume tips for other job seekers

Tip 1 : Write only things you know 
Tip 2 : Be truthful with your resume

Final outcome of the interviewSelected

I was interviewed in Jan 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 40 minutes
Round difficulty - Medium

  • Q1. 

    Subarray Sums I Problem Statement

    You are provided with an array of positive integers ARR that represents the strengths of different “jutsus” (ninja techniques). You are also given the strength of the ene...

  • Ans. 

    Count the number of subarrays whose combined strength matches the given enemy strength.

    • Iterate through the array and maintain a running sum to check for subarrays with sum equal to the enemy strength.

    • Use a hashmap to store the running sum frequencies and increment the count of subarrays accordingly.

    • Return the count of subarrays that sum up to the given enemy strength.

  • Answered by AI
Round 2 - HR 

Round duration - 15 minutes
Round difficulty - Easy

It was in the night around 7:00PM-7:15PM. Platform used for this round was skype. Interviewer was very friendly in nature. This round focusses more on your personality rather than knowledge.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in DelhiEligibility criteriaNo backlogsCognizant interview preparation:Topics to prepare for the interview - Data Structures, OOPS, Algorithm, oop, ghraph , aca , cnTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Practice Coding questions
Tip 2 : Try not to lie on resume

Application resume tips for other job seekers

Tip 1 : It should not be too long or too short. 
Tip 2 : Do not put false thing

Final outcome of the interviewRejected

Skills evaluated in this interview

I was interviewed in Nov 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

It was conducted in morning around 8:00AM-8:40AM. Platform used for this round was hackerrank. Questions were of moderate level. Total number of mcq are 20.

  • Q1. 

    Count Good Subsets Problem Statement

    Given an array ARR of size N consisting of distinct elements, your task is to determine the total number of good subsets. A subset is considered a good subset if the e...

  • Ans. 

    Count the total number of good subsets in an array where elements can be rearranged to divide the next element.

    • Iterate through all possible subsets of the array.

    • Check if each subset is a good subset by rearranging elements to divide the next element.

    • Count the number of good subsets and return the total count.

  • Answered by AI
Round 2 - HR 

Round duration - 15 minutes
Round difficulty - Easy

It was conducted in afternoon around 2:00PM-2:30PM. Platform used for this round was google meet. Interviewer was looking very serious in questioning.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in DelhiEligibility criteriaAbove 7 CGPACapgemini interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Dynamic Programming, OOPS, Cloud Computing, AptitudeTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Research in depth about the company.
Tip 2 : Resume should be in proper format and nice looking.
Tip 3 : Time management is crucial.

Application resume tips for other job seekers

Tip 1 : It should be crisp.
Tip 2 : Do not put false things on resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Leetcode medium questions was asked on hackerrank

Round 2 - Technical 

(2 Questions)

  • Q1. What is database, system design
  • Ans. 

    A database is a structured collection of data, while system design involves creating a plan for how different components of a system will work together.

    • Database is used to store and organize data in a structured manner.

    • System design involves creating a plan for how different components of a system will interact and work together efficiently.

    • Examples of databases include MySQL, PostgreSQL, and MongoDB.

    • Examples of system...

  • Answered by AI
  • Q2. Standard leetcode questions + hashmaps + projects

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Nov 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. 1.Self introduction 2.question about my department(ex ECE) 3.oops (polymorphism,inheritance,encapsulation) 4.programming C language because i preferred factorial of given number using recursion ...
Round 2 - HR 

(1 Question)

  • Q1. Just a formalities of checking address aadhar no mobile num thats all.

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on resume becoz what u have to tell in self intro is they are going to ask question.So be aware using words in self intro :)

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.1k Interviews
Infosys Interview Questions
3.6
 • 7.5k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.7k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
Oracle Interview Questions
3.7
 • 846 Interviews
View all

CodeNation Reviews and Ratings

based on 5 reviews

3.7/5

Rating in categories

3.8

Skill development

2.4

Work-life balance

4.5

Salary

3.7

Job security

3.3

Company culture

3.4

Promotions

3.0

Work satisfaction

Explore 5 Reviews and Ratings
SDE (Software Development Engineer)
33 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sde1
10 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
9 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
8 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Development Engineer
8 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare CodeNation with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview