Filter interviews by
I applied via Approached by Company and was interviewed before Oct 2023. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
To rotate a matrix by 90 degrees clockwise, transpose the matrix and then reverse each row. To rotate anticlockwise, reverse each row and then transpose.
Transpose the matrix by swapping elements at (i, j) with (j, i)
Reverse each row of the transposed matrix
To rotate anticlockwise, reverse each row of the original matrix and then transpose
There are three common methods to compress images: lossless compression, lossy compression, and resizing.
Lossless compression reduces file size without losing any image quality. Examples include PNG and GIF formats.
Lossy compression reduces file size by discarding some image data. Examples include JPEG format.
Resizing reduces file size by changing the dimensions of the image. It can be done manually or using image proc
Identify the most recent duplicate in an array of strings.
Iterate through the array and keep track of the indices of each string using a hashmap.
If a string is already present in the hashmap, update its index.
After iterating through the array, find the string with the highest index in the hashmap.
There are 3 possible triangles that can be formed using the two lines.
To form a triangle, we need three points.
With two lines, we have a total of four points.
By choosing any three points, we can form a triangle.
Therefore, there are 3 possible triangles.
The function should return the element k from a Binary Search Tree (BST).
Traverse the BST in-order and keep track of the current element
If the current element is equal to k, return it
If the current element is greater than k, move to the left subtree
If the current element is less than k, move to the right subtree
Repeat until the element is found or the entire tree is traversed
The question is asking for a solution to find the nearest element to a given element in an array.
Iterate through the array and calculate the absolute difference between each element and the given element.
Keep track of the minimum difference encountered and the corresponding element.
Return the element with the minimum difference as the nearest element.
Top trending discussions
posted on 3 Dec 2015
The memory layout of C programs refers to how variables and data structures are organized in memory.
C programs typically have four main sections in memory: code, data, heap, and stack.
The code section contains the compiled program instructions.
The data section stores global and static variables.
The heap is used for dynamic memory allocation.
The stack is used for function calls and local variables.
Pointers in C hold mem...
Inefficiency and lack of organization irritate me.
Inefficient code or processes
Lack of documentation
Disorganized project management
Inconsistent coding standards
Poor communication within the team
I know multiple computer languages including Java, Python, and C++.
Java
Python
C++
Design a P2P sharing network like torrent
Consider the architecture and protocols for file sharing
Include mechanisms for file discovery and download
Implement a distributed system for efficient data transfer
Ensure data integrity and security
Handle scalability and load balancing
Consider user interface and ease of use
A good job is one that provides satisfaction, growth opportunities, work-life balance, and fair compensation.
Satisfaction: Feeling fulfilled and accomplished in the work being done.
Growth opportunities: Having chances to learn, develop new skills, and advance in the career.
Work-life balance: Striking a healthy equilibrium between work responsibilities and personal life.
Fair compensation: Being adequately rewarded for t...
I applied via Campus Placement and was interviewed in Dec 2016. There were 3 interview rounds.
Program to reverse an integer
Convert the integer to a string
Reverse the string
Convert the reversed string back to an integer
I have worked on various projects including a web application for inventory management and a mobile app for task tracking.
Developed a web application using React for inventory management, allowing users to track stock levels and generate reports.
Created a mobile app using Flutter for task tracking, enabling users to create, assign, and track tasks in real-time.
Collaborated with a team of developers to integrate APIs an...
Yes, I am interested in studying further to enhance my skills and knowledge in software engineering.
Interested in pursuing a Master's degree in Computer Science
Enrolling in online courses to learn new technologies and programming languages
Attending workshops and conferences to stay updated with industry trends
Reverse a linked list without using extra memory
Iterate through the linked list and change the next pointers to reverse the list
Use three pointers - prev, current, and next - to keep track of the reversed list
Start with prev and current pointing to null and the head of the linked list respectively
While traversing the list, update the next pointer of the current node to point to the previous node
Move prev and current po...
Data structures are fundamental concepts in software engineering that organize and store data efficiently.
Arrays: Simple and efficient for storing and accessing elements.
Linked Lists: Dynamic and flexible, efficient for insertion and deletion.
Stacks: LIFO structure, useful for managing function calls and undo operations.
Queues: FIFO structure, ideal for managing tasks and scheduling.
Trees: Hierarchical structure, used ...
The difference is that 'int arr[5]' creates an array on the stack, while 'malloc(5*sizeof(int))' allocates memory on the heap.
int arr[5] creates an array of 5 integers on the stack, which is a fixed-size memory allocation.
malloc(5*sizeof(int)) dynamically allocates memory on the heap, allowing for variable-size memory allocation.
The memory allocated with malloc must be explicitly freed with free() to avoid memory leaks
I am a passionate software engineer with a strong background in computer science and experience in developing innovative solutions.
Completed a Bachelor's degree in Computer Science from XYZ University
Proficient in programming languages such as Java, Python, and C++
Worked on various projects including a mobile app for tracking fitness goals
Familiar with Agile development methodologies and version control systems like Gi
In 5 years, I see myself as a senior software engineer leading a team of developers on innovative projects.
Continuing to enhance my technical skills and knowledge through ongoing learning and certifications
Taking on more leadership responsibilities and mentoring junior team members
Contributing to the development of cutting-edge software solutions for the company
Possibly pursuing opportunities for advancement within the...
I tend to overthink details and can be overly critical of my own work.
Overthinking details can lead to delays in completing tasks
Being overly critical can hinder progress and confidence
Yes, I am interested in studying further to enhance my skills and stay updated with the latest technologies.
I believe continuous learning is essential in the fast-paced tech industry
Further studies can help me specialize in a specific area of software engineering
Advanced degrees or certifications can open up new career opportunities
based on 1 interview
Interview experience
based on 37 reviews
Rating in categories
Member Technical Staff
42
salaries
| ₹0 L/yr - ₹0 L/yr |
Escalation Engineer
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Cisco
Juniper Networks
VMware Software
Palo Alto Networks