Punjab Engineering College (PEC)

Tamil Nadu - Other, Tamil Nadu | Prakasam, Andhra Pradesh | Panchkula, Haryana | Pondicherry, Pondicherry

Your seniors at Punjab Engineering College (PEC) were your true well-wishers, they shared their placement interview questions for you. 🙏

filter iconFilter interviews by

Punjab Engineering College (PEC) Placement Interview Questions

Updated 8 Dec 2024

27 interviews found

I was interviewed in Sep 2020.

1 Interview Round

1

Video Call Round (1 Question)

Round duration - 40 minutes
Round difficulty - Medium

Data structures were asked like linked list and stacks. Hashmaps were also there. some basic questions of DBMS were asked and the interviewer asked if i know networking for which i said no. After that there was a 5 minute simple straightforward round with H.R

  • Q1. Middle of a Linked List You are given the head node of a singly linked list. Your task is to return a pointer pointing to the middle of the linked list. If the...read more

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). I applied for the job as Software Engineer in NoidaEligibility criteriaAbove 6 CGPAMediaTek interview preparation:Topics to prepare for the interview - Data structures- linked lists, stacks, queues,Dynamic programming, networking, dbms,oops,etc.Time required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Practice maximum questions of linked lists and stacks.
Tip 2 : DBMS concepts should be crystal clear.
Tip 3 : If you are not able to complete something in-depth, clearly mention that to the interviewer.
Tip 4 : Practice a mock interview and try to solve any random question in front of your friend.

Application resume tips for other job seekers

Tip 1 : Mention maximum projects you have one and be prepared to explain them.
Tip 2 : Don't mention anything you are not confident in.

Final outcome of the interviewSelected
share interview

I was interviewed before Sep 2020.

4 Interview Rounds

1

Coding Test Round (3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

The round consists of 3 coding questions and the test was conducted on mettl platform. There was no sectional time limit for the coding questions. Every student got randomly 3 coding questions and none of the students got the same set of questions. The test was online with audio and video both on for continuous monitoring.

  • Q1. Mean, Median, Mode Calculation You are given an array 'ARR' consisting of 'N' integers. Your task is to calculate the three statistical measures for the given ...read more
  • Q2. Nth Term of Geometric Progression (GP) Series Determine the Nth term of a geometric progression (GP) series given the first term, common ratio, and the term nu...read more
  • Q3. Dice Throw Problem Statement You are provided with D dice, each having F faces numbered 1 to F , inclusive. Your task is to determine the number of possible wa...read more
2

Video Call Round (2 Questions)

Round duration - 50 minutes
Round difficulty - Medium

This round was based on data structures and some discussion regarding the projects. The interviewer was very calm and listened very carefully to the solutions. There was a lot of discussion on my projects and the interviewer seems to be very interested in knowing about the workflows of my projects.

  • Q1. Identical Trees Problem Statement Given two binary trees with 'N' and 'M' nodes respectively, determine if the two trees are identical. Return true if they are...read more
  • Q2. Distinct Subsequences of a String Given a string S of length N that may contain duplicate alphabets, your task is to compute the count of distinct subsequences...read more
3

Video Call Round (1 Question)

Round duration - 50 minutes
Round difficulty - Medium

This round was also based on data structures and the interviewer was not responding as much as in the first round so that I should think on my own that whether I am on right track or not. In this round also there was a deep discussion on one of my web development with machine learning project. So don't panic in these situations If the interviewer is not responding much because he is noting down every tiny detail of your written code.

  • Q1. Delete Kth Node from End of Linked List This problem requires you to delete the Kth node from the end of a given singly linked list with N nodes containing int...read more
4

HR Round

Round duration - 30 minutes
Round difficulty - Medium

This was an HR/Coding round and was the final one. The coding question was to find the nth node from the end of the linked list which is similar to the one asked in the previous round. The interview started with 2-3 HR questions and after I answered all of them, there was a serious discussion on my projects like why did you chose this project, what are its advantages, was it able to solve the existing problem. I answered all the project related queries very calmly and he was satisfied.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, Operating System, Database Management, C++, or Java (proficient in anyone) Computer Networks.Time required to prepare for the interview - 2-3 monthsInterview preparation tips for other job seekers

Tip 1 : I would suggest practicing as many questions on data structures and algorithms as you can because it is the question practice that would help you in building your concepts strong. I practiced a lot of questions on InterviewBit and completed all modules of data structures and algorithms because there you can find the recent interview questions that you should know. 
Tip 2 : If you have time for your interviews, I would recommend going through Leetcode as it has a good variety of questions sorted on topic wise difficulty level where you can try to solve at least 20-30 questions for each data structure and algorithm. Moreover, you should regularly participate in the weekly contests happening there so that you could know about your weak areas to improve.
Tip 3 : Along with coding you should be clear about some basic concepts of Operating systems and Databases that would help in your interviews. One more thing is that do some good research about the company's goal and vision and be prepared to ask some company-related queries that show your interest in the company.

Application resume tips for other job seekers

Tip 1 : Your Resume should consist of mainly skills, projects, and achievements. Projects would play a crucial part in your interview and you should have at least one most relevant and good project that shows how strong your concepts are in development. 
Tip 2 : The most important tip is that never lie on your resume and like If you have worked upon some technology for the project part only and don't know the proper depth you could write basics only in your resume.

Final outcome of the interviewSelected
share interview

I was interviewed before Sep 2020.

4 Interview Rounds

1

Coding Test Round (3 Questions)

Round duration - 90 minutes
Round difficulty - Easy

This round consists of 3 coding questions with a total time limit of 90 minutes. The first two questions were of easy level and the third question was of medium level. No two candidates had the same set of questions, the distribution of questions was random. The test was conducted on mettl platform with both audio and video on for monitoring on the candidate.

  • Q1. Running Median Problem Given a stream of integers, calculate and print the median after each new integer is added to the stream. Output only the integer part o...read more
  • Q2. Fruits and Baskets Problem Statement You are given 'n' fruit trees planted along a road, numbered from 0 to n-1. Each tree bears a fruit type represented by an...read more
  • Q3. Dice Throws Problem Statement You are given D dice, each having F faces numbered from 1 to F . The task is to determine the number of possible ways to roll all...read more
2

Video Call Round (1 Question)

Round duration - 50 miutes
Round difficulty - Medium

This was my first interview and I was a bit nervous. The interview was conducted on Microsoft Team. He told me to share my screen and write the pseudo code on notepad. The interviewer was very friendly and also gave me hints for the question. However, he mostly focused on optimization of the code. At the end of the question, few questions related to Operating Systems were asked.

  • Q1. Group Anagrams Problem Statement Given an array or list of strings called inputStr , your task is to return the strings grouped as anagrams. Each group should ...read more
3

Video Call Round (1 Question)

Round duration - 45 minutes
Round difficulty - Medium

The second round consisted questions related to concepts of object oriented programming and databases. At the end of the interview he asked me to explain any one good project. The interview lasted for 45 minutes. The interviewer was friendly and good.

  • Q1. Merge Sort Problem Statement You are given a sequence of numbers, ARR . Your task is to return a sorted sequence of ARR in non-descending order using the Merge...read more
4

HR Round

Round duration - 30 minutes
Round difficulty - Easy

This was my last round and I was a bit tensed. It was an HR round. The interviewer was very professional. He discussed and asked questions about my various achievements, my interests apart from the technical field and also asked about my projects. I made sure to answer all the questions confidently and calmly.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - C++, Data Structures, Dynamic Programming, Algorithms, Operating Systems, Object Oriented Programming, Database Management SystemTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Having a grip over Data Structures and Algorithms is very important. Have your concepts crystal clear and then pick one coding platform( for example, leetcode, InterviewBit, CodeZen, GeeksForGeeks) and try to practice around 7-10 questions everyday with varying difficulty and different topics. I completed around 200+ questions on leetcode, 200+ questions on geeks for geeks and around 30-40 problems on InterviewBit.
Tip 2 : After writing code for a particular question try to analyze its time and space complexity. Think about how you can optimize your code further. Also refer to the editorials and compare your solution with it. Interviewers ask a lot about further code optimization. Hence, instead of trying to solve more and more problems, try to analyze a question completely and understand the concept behind them. 
Tip 3 : Along with coding, study about OOPS. Coding Ninja's Data Structures and Algorithms course helped a lot in preparing the OOPS concepts specifically. Also, OS and DBMS must also be studied. You can refer to GeekForGeeks articles for these topics.
Tip 4 : Keep participating in coding contests. It helps you increase your speed. I participated in almost every Leetcode Weekly Contest which helped me keeping the track of my improvement.

Application resume tips for other job seekers

Tip 1 : Do not fake any skills, projects or achievements. The interviewer gets to know about it by asking questions to you.
Tip 2 : You do need to have a long list of projects. Any 1 good project with proper knowledge of it will also do good. Similarly, you do need to have many skills to be listed down. Few skills but with proper knowledge is great.
Tip 3 : Try to write achievements which proves your technical skills, communication skills, leadership quality or teamwork.

Final outcome of the interviewSelected
share interview

I was interviewed before Sep 2020.

3 Interview Rounds

1

Coding Test Round (2 Questions)

Round duration - 40 minutes
Round difficulty - Easy

First round took place at around 10:15 AM. It was a online round. The interviewer was very sweet, and he asked me if i knew about the problems before

  • Q1. Next Smaller Palindrome Problem Statement You are given a palindrome number represented as a string S . Your task is to find the largest palindrome number that...read more
  • Q2. Can you explain how heaps are implemented?
2

Coding Test Round (1 Question)

Round duration - 45 minutes
Round difficulty - Easy

It took place at around 3:15 PM.

  • Q1. Sort a Stack Problem Statement You are provided with a stack consisting of 'N' integers. The goal is to sort this stack in descending order by utilizing recurs...read more
3

Coding Test Round

Round duration - 20 minutes
Round difficulty - Easy

HR round
took place in the evening at around 7:20 PM.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). I applied for the job as SDE - Intern in PuneEligibility criteriaAbove 7 CGPADeutsche Bank interview preparation:Topics to prepare for the interview - OOPS from geeksforgeeks articles; Data Structures, Dynamic Programming, Algorithms from variuos coding platforms including leetcode and geeksforgeeks; Database Management System from youtube (channel Gate Smashers), Operating System from youtube (channel Gate Smashers) and geeksforgeeksTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Begin early, but do not regret your timing.
Tip 2 : Be consistent. Do something everyday. Small progress every single day is better than no a rushed, hard-work day and then nothing for a week
Tip 3 : Relax and don't stress. Never doubt even if you don't see progress or have to face rejection. Trust your timing.

Application resume tips for other job seekers

Tip 1 : Include only genuine information.
Tip 2 : It should never be of more than one page

Final outcome of the interviewSelected
share interview
user image Anonymous

posted on 16 Sep 2021

I was interviewed before Sep 2020.

2 Interview Rounds

1

Coding Test Round (2 Questions)

Round duration - 180 minutes
Round difficulty - Medium

The online test consisted of 2 coding questions, 30 aptitude MCQs, 30 behavioral MCQs and 10 code snippets to debug. The coding questions were of medium level, aptitude MCQs were easy and the code snippets to debug was also of easy level. Each section had a time constraint.

  • Q1. Merge Two Sorted Linked Lists Problem Statement You are provided with two sorted linked lists. Your task is to merge them into a single sorted linked list and ...read more
  • Q2. Minimum Path Sum Problem Statement Consider a 2-dimensional grid 'GRID' with 'N' rows and 'M' columns in Ninjaland. Each cell in the grid has an associated cos...read more
2

Video Call Round (4 Questions)

Round duration - 60 minutes
Round difficulty - Medium

My interview was at 9:00 am. The interview was conducted on Amazon Chime and my webcam was on. The interviewer also asked me to write the code on a document which can be edited by both me and the interviewer. The difficulty of the questions was of medium level. I was asked 3 coding questions along with 2 questions related to OOPS at the end. The interview ended with the discussion of one of my projects. The interviewer was good and also gave me hints wherever required.

  • Q1. Palindrome Partitioning Problem Statement You are given a string S . Your task is to partition S such that every substring of the partition is a palindrome. Yo...read more
  • Q2. Longest Increasing Subsequence Problem Statement Given an array of integers with 'N' elements, determine the length of the longest subsequence where each eleme...read more
  • Q3. Find Missing Number In String Problem Statement You have a sequence of consecutive nonnegative integers. By appending all integers end-to-end, you formed a str...read more
  • Q4. What are the ACID properties in DBMS?

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaCandidate must be femaleAmazon interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Graphs, Dynamic Programming, OOPS, Operating System, Database Management, C++,Computer Networks.Time required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : You must have a grip over Data Structures and algorithms. Your concepts must be crystal clear. Pick one coding platform and try to practice at least 7-10 coding questions everyday. I completed around 200+ questions on Leetcode, 200+ questions on Geek For Geeks and around 30-40 questions on InterviewBit. 
Tip 2 : After attempting any coding problem, analyze its time and space complexity. See, if you can further optimize your solution. You can always check the editorials and compare your solution with it.
Tip 3 : Apart from coding questions keep studying concepts of Operating Systems, databases and object oriented programming. You can always refer to Geeks For Geeks articles for it. Also, Coding Ninja's Data Structures and algorithms course in C++ helped me a lot in improving my OOPS concepts specifically.

Application resume tips for other job seekers

Tip 1 : You do not need to have a long list of projects on your resume. One good project with proper knowledge of it will do good. Similarly, do not list down several number of skills. Few skills but roper knowledge of them are enough.
Tip 2 : Do not fake anything on your resume. The interviewer gets to know about it by asking questions. If you aren't able to answer, it leaves a negative impact.

Final outcome of the interviewSelected
share interview

I applied via Campus Placement and was interviewed before Jun 2020.

4 Interview Rounds

Interview Questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be original in the interviews. Mention genuine projects and skills in your resume. Focus on one programming language and work of OOPS concepts and Data structure and Algorithms.
share interview

I was interviewed before Sep 2020.

5 Interview Rounds

1

Coding Test Round (3 Questions)

Round duration - 75 minutes
Round difficulty - Easy

First-round was online round on CoCubes and there were three coding questions (2, 3 and 5 marks). The test was held in the institute's computer center and there were 6 sets of coding question, out of which one was assigned to you randomly. If you have completed all the questions, it is a very high probability that you will advance to next round.

  • Q1. Minimum Subarray with Required Sum Problem Statement Given an array of positive integers ARR and an integer X , determine the minimum length subarray where the...read more
  • Q2. Reverse a Linked List Problem Statement Given a singly linked list of integers, your task is to return the head of the reversed linked list. Example: Input: Th...read more
  • Q3. Find the Largest Common Ancestor Problem Given a binary search tree and two distinct nodes within it, the task is to determine their largest common ancestor. T...read more
2

Coding Test Round (1 Question)

Round duration - 60 minutes
Round difficulty - Medium

There were a few debugging problems in which we need to figure the bugs in the code. In the end there was a programming question for which we need to write a pseudo code.

  • Q1. Palindrome Partitioning Problem Statement Given a string S , the task is to partition S so that every substring in the partition is a palindrome. Return all po...read more
3

Face to Face Round (1 Question)

Round duration - 30 minutes
Round difficulty - Medium

The interviews started during evening. In this round i was asked to introduce myself and describe a project that was listed on the resume. There were questions related to the technical details of the project, for example what is the tech stack that was used. After this i was asked to solve a programming question which was fairly simple

  • Q1. Ways To Make Coin Change Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value us...read more
4

Face to Face Round (1 Question)

Round duration - 40 minutes
Round difficulty - Easy

In this round I was asked to solve 1 programming question and needed to improve the solution to reduce both space and time complexity.

  • Q1. Flatten the Multi-Level Linked List You are provided with a multi-level linked list containing N nodes. Each node has pointers next and child , which could pot...read more
5

Face to Face Round

Round duration - 30 minutes
Round difficulty - Medium

It was a pretty interesting round, in which i was asked to design a solution for real life situation.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). I applied for the job as SDE - Intern in BengaluruEligibility criteriaAbove 7.5 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, OOPS, DBMS, System Designing, Computer Networks, OS, Debugging of a program (C/C++/Java), Working with pointers.Time required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Start with making your basics strong about programming, which included basic data structures like array, linked list etc.
Tip 2 : Practice dry running the code with custom test cases, try to find the edge cases by yourself
Tip 3: Do not search for a solution until you have tried your best to think of it
Tip 3 : For reference you can reach to Interview Preparation Course of Coding Ninjas, LeetCode, Codezen

Application resume tips for other job seekers

Tip 1: Have at-least one good project on resume, keep it to the point and do not fake it.
Tip 2: Add the skills section to your resume properly, highlight what's needed.

Final outcome of the interviewSelected
share interview