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. Dynamic programming
    • For every fountain, we can try to find the pair area = (left, right), where left and right are the leftmost and the rightmost index respectively where the current fountain can reach.For every index 'I' = 0 to 'I' = 'N' -1, 'LEFT' = max(0, 'I' - 'ARR'['I']) and  'right' = min('I' + ('ARR'['I'] + 1), 'N').
    • Now we can sort the array of pairs in non-decreasing order according to 'LEFT' to find the mi...
  • Answered Anonymously
  • 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. Brute Force Approach

    The steps are as follows:

     

    1. Initialize a ‘COUNT’ with 0 to keep track of the number of inversions
    2. Iterate over every element in the array in a linear fashion starting from 0.
    3. For every element, check all the elements ahead of the current element and check the condition.
      1. If the condition satisfies, increase the ‘COUNT’ by 1.
      2. Otherwise, move to the next iteration.
    4. Return the ‘COUNT’.
    Space Complexity: O(...
  • Answered Anonymously
  • 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. Simulation, Observation.
    • If ‘K’ = 0, then no operations are performed on the array. So, in this case, simply return the original array.
    • We know that in each operation, we are subtracting the array elements with the maximum value in the array, so we can be sure that after one operation, we will have 0 as at least one of the elements in the array and the rest of the elements will always be +ve.
    • The array values after a sing...
  • Answered Anonymously
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. 

    I had read this article few days before the interview so I was aware of the approach that was efficient. But I started by explaining the naive O(N^3) solution.
    The interviewer asked me to optimize the approach.
    Then I gave him the approach I read in the article.
    The interviewer asked me to code the solution which I did.

  • Answered Anonymously
  • 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. DFS

    We can approach this problem by running a DFS starting from vertex-1.

    We have a total of ‘m’ edges.

    When can we achieve the configuration when we see in reference to vertex-1? 

    1. Let's say vertex-1 is ‘Blue’
      1. If all the vertices that connect to vertex-1 are ‘Red’, then we can say that the configuration is possible.
    2. If this would be the negation of the last one. Say, vertex-1 is ‘Red’
      1. If all the vertices that connect to ...
  • Answered Anonymously
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. Count distinct Bitwise OR of all subarraysYou are given an array consisting of N positive integers, your task is to count the number of distinct possible values that can be obtained by taking the bitwise OR of the elements of all possible s... read more
View answer (3)

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum Of Max And MinYou are given an array “ARR” of size N. Your task is to find out the sum of maximum and minimum elements in the array. Follow Up: Can you do the above task in a minimum number of comparisons? Input format: The first line ... read more
View answer (8)

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 (38)

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...

  • 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...

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. 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. Explanation: A subarray is a contiguous portion... read more
Add answer

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 (4)

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)

 SDE (Software Development Engineer)

 (1)

 Software Developer

 (1)

Interview questions from similar companies

I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Basic concepts of core java like OOPS principles and collection based questions.
  • Q2. Basic questions on Spring and Hibernate if mentioned in Resume.
  • Q3. Microservices and springboot related questions if shown interest in it.
  • Q4. Can be asked some SQLs as well.

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview went above average and I was not too sure for a positive feedback. However, if there is an urgent requirement then there is high chance of selection.

I applied via Naukri.com

Interview Questionnaire 

5 Questions

  • Q1. What are Agile Key Metrics
  • Ans. 

    Agile Key Metrics are measurements used to track the progress and success of Agile projects.

    • Agile Key Metrics include Velocity, Burn-Down Charts, Cycle Time, Lead Time, and Cumulative Flow Diagrams.

    • Velocity measures the amount of work completed in a sprint.

    • Burn-Down Charts track the remaining work in a sprint.

    • Cycle Time measures the time it takes to complete a task.

    • Lead Time measures the time it takes to deliver a feat...

  • Answered by AI
  • Q2. What are thr main roles and responsibilities of PMO
  • Q3. What are the Resource Level Metrics
  • Ans. 

    Resource level metrics are measurements used to evaluate the efficiency and effectiveness of resources used in a project or organization.

    • Resource level metrics help in identifying areas where resources can be optimized.

    • Examples of resource level metrics include cost per unit, time to complete a task, and resource utilization rate.

    • Resource level metrics can be used to improve decision-making and resource allocation.

    • Thes...

  • Answered by AI
  • Q4. Person should be well versed to Handle Multiple Projects
  • Q5. Person should be able to work on Dashboards im form of Excel & PowerPoint

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident on PMO roles and responsibilities and Agile Key Metrics

Skills evaluated in this interview

I applied via Recruitment Consultant

Interview Questionnaire 

2 Questions

  • Q1. Round 1: Fundamentals questions related to Javascript and React. In React questions were focused on react-hooks. lifecycle components and optimization techniques in react. Basic to intermediate questions r...
  • Q2. Round 2: The interview panel will ask you to code some basic coding problem depending on your relevant experience and if you're not able to solve it they'll directly say they're done with the interview. In...

Interview Preparation Tips

Interview preparation tips for other job seekers - I cleared Round 1 after which there was a delay of more than 2 weeks and got a call for Round 2 without any prior notice. Their L2 level interview is very bad, in my case I ended the interview from my side as it looked very clear that the panel was least interested.

Interview Questionnaire 

2 Questions

  • Q1. Why do prefer our organizations and what have you accomplished on the current role are the most expected questions.
  • Q2. Definitely you should have a reason as to why apply for certain organization and for the second one. It is more preferred to be realistic with what your accomplishments are as well as make it more clear an...

Interview Questionnaire 

4 Questions

  • Q1. Activity and Fragment life cycle
  • Q2. Work Manager
  • Q3. Lambda function , DSL
  • Q4. Coroutines

I applied via Campus Placement and was interviewed in Apr 2021. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. Why u choose this job ?
  • Q2. Why u preferred this company?
  • Q3. If I will give you job how would u increase the company standard or status

Interview Preparation Tips

Interview preparation tips for other job seekers - Nice don't panic feel free say what u know that's it it is right or wrong

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.5k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
Oracle Interview Questions
3.7
 • 900 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

₹24 L/yr - ₹40 L/yr

Sde1
10 salaries
unlock blur

₹33.2 L/yr - ₹37.5 L/yr

Software Engineer
9 salaries
unlock blur

₹30 L/yr - ₹36.5 L/yr

Software Developer
8 salaries
unlock blur

₹30 L/yr - ₹35 L/yr

Software Development Engineer
8 salaries
unlock blur

₹24 L/yr - ₹37 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