Filter interviews by
Reverse a given string
Use a loop to iterate through the characters of the string
Append each character to a new string in reverse order
Return the reversed string
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Types of data structures include arrays, linked lists, stacks, queues, trees, graphs, and hash tables.
Arrays are a collection of elements stored in contiguous memory locations, accessed using an index.
Linked lists are a series of nodes where each node contains data and a reference to the next node.
...
A class is a blueprint for creating objects in object-oriented programming. Objects are instances of classes.
A class defines the properties and behaviors of objects. For example, a 'Car' class may have properties like 'color' and 'model', and behaviors like 'drive' and 'stop'.
An object is an instance of a class. For example, 'myCar' can be an object of the 'Car' class with specific values for 'color' and 'model'.
C...
Object-oriented programming concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class). Example: class Car with properties like make, model, and methods like start(), stop().
Inheritance: creating new classes based on existing classes, inheriting their attributes and methods. Example: class SUV inheriting fr...
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent multiple data types.
Examples include method overloading and method overriding in object-oriented programming.
Virtual functions are functions in a base class that are overridden in derived classes, while static functions belong to the class itself rather than instances.
Virtual functions allow for dynamic binding and polymorphism in object-oriented programming.
Static functions are associated with the class itself and can be called without creating an instance of the class.
Example: virtual void display() = 0; // pure virtua...
Object-oriented programming concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class). Example: class Car with properties like make, model, and methods like start(), stop().
Inheritance: creating new classes based on existing classes, inheriting their attributes and methods. Example: class SUV inheriting from cl...
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Types of data structures include arrays, linked lists, stacks, queues, trees, graphs, and hash tables.
Arrays are a collection of elements stored in contiguous memory locations, accessed using an index.
Linked lists are a series of nodes where each node contains data and a reference to the next node.
Stack...
A class is a blueprint for creating objects in object-oriented programming. Objects are instances of classes.
A class defines the properties and behaviors of objects. For example, a 'Car' class may have properties like 'color' and 'model', and behaviors like 'drive' and 'stop'.
An object is an instance of a class. For example, 'myCar' can be an object of the 'Car' class with specific values for 'color' and 'model'.
Code e...
Virtual functions are functions in a base class that are overridden in derived classes, while static functions belong to the class itself rather than instances.
Virtual functions allow for dynamic binding and polymorphism in object-oriented programming.
Static functions are associated with the class itself and can be called without creating an instance of the class.
Example: virtual void display() = 0; // pure virtual fun...
Developed a web-based project management tool for tracking tasks and deadlines.
Used AngularJS for front-end development
Implemented RESTful APIs for communication between front-end and back-end
Utilized MySQL database for storing project data
Write a function over loading and friend class with example?
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Reverse a given string
Use a loop to iterate through the characters of the string
Append each character to a new string in reverse order
Return the reversed string
I applied via Newspaper Ad and was interviewed in Feb 2024. There were 2 interview rounds.
Tecnology for tribal areas
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent multiple data types.
Examples include method overloading and method overriding in object-oriented programming.
Top trending discussions
posted on 10 May 2015
Locate sum of 2 numbers in a linear array (unsorted and sorted) and their complexities
For unsorted array, use nested loops to compare each element with every other element until the sum is found
For sorted array, use two pointers approach starting from the beginning and end of the array and move them towards each other until the sum is found
Complexity for unsorted array is O(n^2) and for sorted array is O(n)
Pointers are used to manipulate memory addresses and values in C++. Increment/decrement, address of and value at operators are commonly used.
Incrementing a pointer moves it to the next memory location of the same data type
Decrementing a pointer moves it to the previous memory location of the same data type
The address of operator (&) returns the memory address of a variable
The value at operator (*) returns the value sto...
To determine if a point is inside or outside a rectangle, we check if the point's coordinates fall within the rectangle's boundaries.
Check if the point's x-coordinate is greater than the left edge of the rectangle
Check if the point's x-coordinate is less than the right edge of the rectangle
Check if the point's y-coordinate is greater than the top edge of the rectangle
Check if the point's y-coordinate is less than the b...
To find line that divides rectangle into 2 equal halves through a point inside it.
Find the center of the rectangle
Draw a line from the center to the given point
Extend the line to the opposite side of the rectangle
The extended line will divide the rectangle into 2 equal halves
There are multiple combinations of 8-bit and 16-bit signed numbers. How many such combinations are possible?
There are 2^8 (256) possible combinations of 8-bit signed numbers.
There are 2^16 (65,536) possible combinations of 16-bit signed numbers.
To find the total number of combinations, we can add the number of combinations of 8-bit and 16-bit signed numbers.
Therefore, the total number of possible combinations is 256 + ...
Find duplicates in an array of elements in 0(n) time and 0(1) space.
Use the property of inputs to your advantage
Iterate through the array and mark elements as negative
If an element is already negative, it is a duplicate
Return all the negative elements as duplicates
Generate all combinations of digits from an array, allowing and disallowing repetition.
Use recursion or backtracking to generate combinations.
For repetition allowed: e.g., arr={1,2}, combinations are 11, 12, 21, 22.
For repetition not allowed: e.g., arr={1,2,3}, combinations are 123, 132, 213, 231, 312, 321.
Utilize a set to track used digits when repetition is not allowed.
I appeared for an interview before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
Its a zoom call interview which lasted for 45 minutes. initially there are two panel members in which one is very targetting at me. They asked me different type of questions like jumping from DSA to project then to python then again java. Its a mixed combo pack type interview. for each and every question they asked me the real time example. The discussion on my project lasted for 15-20 mins.
Given a positive integer N
, compute the total number of '1's in the binary representation of all numbers from 1 to N. Return this count modulo 1e9+7 because the result can...
Count the total number of set bits in the binary representation of numbers from 1 to N modulo 1e9+7.
Use bitwise operations to count the set bits in each number from 1 to N.
Keep track of the total set bits and return the result modulo 1e9+7.
Optimize the solution to handle large values of N efficiently.
Consider using dynamic programming or precomputing values for faster computation.
Round duration - 30 mins
Round difficulty - Easy
This round was a zoom interview. The interview started with my brief introduction. This time the interview was more interested in my hobbies and passions. He asked me what do you do to keep yourself updated with the latest technology trends?
Tip 1 : Do participate in all the coding contests, long challenges held by codechef, codeforces
Tip 2 : Practice all kinds of problems on leetcode, gfg, coding ninjas
Tip 3 : When you are writing a written exam for a particular company, make sure you get to know about the company in detail.
Tip 1 : Make your resume short and sweet(mostly 1 page, max 2 pages) is preferred.
Tip 2 : Make sure your resume is crisp rather than descriptive
Tip 3 : Do not lie on your resume
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
Its basically a test comprising 32 mcq
12- logical reasoning
20- core C,DBMS, OS , Computer Networks
2 coding Questions
I applied via Referral and was interviewed before Nov 2023. There were 2 interview rounds.
Frog jump dp problem
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization is used to eliminate data redundancy by breaking up tables into smaller, related tables.
It helps in reducing data anomalies such as insertion, update, and deletion anomalies.
Normalization is achieved through a series of stages called normal forms, with the most common being First Normal Form (1NF)...
Armstrong algorithm is used to find Armstrong numbers in a given range.
Iterate through the numbers in the given range
Calculate the sum of cubes of each digit in the number
Check if the sum is equal to the original number
General aptitude questions
Problem solving, solved 2 out of 3 questions
General topics were given in gd
posted on 22 Aug 2024
Medium coding qs with technical interview
based on 3 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Senior Software Engineer
311
salaries
| ₹6.9 L/yr - ₹25.3 L/yr |
Member Technical Staff
151
salaries
| ₹10 L/yr - ₹31 L/yr |
Software Engineer
128
salaries
| ₹3 L/yr - ₹12 L/yr |
Physical Design Engineer
60
salaries
| ₹5 L/yr - ₹17.5 L/yr |
Software Engineer2
56
salaries
| ₹5.5 L/yr - ₹12.8 L/yr |
Apar Industries
Molex
TDK India Private Limited
Micron Technology