Filter interviews by
Garbage collection in Java is an automatic memory management process.
Garbage collection is responsible for freeing up memory that is no longer being used by the program.
Java uses a mark-and-sweep algorithm for garbage collection.
Garbage collection can cause performance issues if not managed properly.
Developers can manually trigger garbage collection using System.gc() method.
I tend to overthink and sometimes struggle with time management.
Overthinking can lead to analysis paralysis, so I try to focus on taking action.
I use time management tools like calendars and to-do lists to stay organized.
I also prioritize tasks and delegate when possible to ensure I meet deadlines.
For example, I once struggled with a project deadline but learned to break it down into smaller tasks and delegate som...
Find the odd ball among 9 balls using a balance in 3 trials.
Divide the balls into 3 groups of 3 balls each.
Weigh any two groups on the balance.
If the two groups weigh the same, the odd ball is in the third group.
If one group is heavier, weigh two balls from that group to find the odd ball.
If the two balls weigh the same, the odd ball is the remaining one.
If one ball is heavier, that is the odd ball.
Repeat the proc...
My strengths include problem-solving, attention to detail, and a strong work ethic.
Strong problem-solving skills
Attention to detail
Strong work ethic
Ability to work well under pressure
Excellent communication skills
Ability to learn quickly
Flexibility and adaptability
Team player
An angle inscribed in a semi-circle is always a right angle.
A semi-circle is a 180-degree angle.
An inscribed angle is half the measure of the intercepted arc.
The intercepted arc of a semi-circle is 180 degrees.
Therefore, the inscribed angle is 90 degrees.
The day I received my first job offer as a software developer.
I had been searching for a job for months and was feeling discouraged.
I received the offer via email and was ecstatic.
I immediately called my family and friends to share the news.
It was a turning point in my career and life.
I felt grateful for the opportunity and excited for the future.
Both eggs weigh the same.
The weight of an egg is determined by its size and contents, not its cooking method.
Boiling an egg does not change its mass.
The difference in weight between a boiled egg and a raw egg is negligible.
The weight of an egg can vary depending on the breed of chicken that laid it.
Both are of the same weight, 1 kg.
Both weigh the same as they are 1 kg each.
The question is a trick question as it assumes one is heavier than the other.
The weight of an object is determined by its mass and not its material.
The question tests the candidate's ability to identify trick questions.
Sorting an array of strings
Use built-in sorting functions like sort() in JavaScript
Implement sorting algorithms like bubble sort or quicksort
Consider the time complexity of the sorting algorithm used
Ensure the sorting is case-sensitive or case-insensitive based on requirements
Java and C++ are both object-oriented programming languages, but differ in syntax, memory management, and platform compatibility.
Java is platform-independent, while C++ is platform-dependent
Java uses automatic garbage collection, while C++ requires manual memory management
Java has a simpler syntax and is easier to learn, while C++ has a more complex syntax and is more difficult to master
Java is better suited for w...
Sorting an array of strings
Use built-in sorting functions like sort() in JavaScript
Implement sorting algorithms like bubble sort or quicksort
Consider the time complexity of the sorting algorithm used
Ensure the sorting is case-sensitive or case-insensitive based on requirements
Java and C++ are both object-oriented programming languages, but differ in syntax, memory management, and platform compatibility.
Java is platform-independent, while C++ is platform-dependent
Java uses automatic garbage collection, while C++ requires manual memory management
Java has a simpler syntax and is easier to learn, while C++ has a more complex syntax and is more difficult to master
Java is better suited for web de...
Garbage collection in Java is an automatic memory management process.
Garbage collection is responsible for freeing up memory that is no longer being used by the program.
Java uses a mark-and-sweep algorithm for garbage collection.
Garbage collection can cause performance issues if not managed properly.
Developers can manually trigger garbage collection using System.gc() method.
Exception handling is a mechanism to handle runtime errors in Java programs.
Exceptions are objects that represent an abnormal condition in the program.
try-catch block is used to handle exceptions.
finally block is used to execute code regardless of whether an exception is thrown or not.
Java provides built-in exceptions like ArithmeticException, NullPointerException, etc.
Custom exceptions can also be created by extending...
My final year project was a web-based e-commerce platform.
Developed using PHP and MySQL
Implemented features like product search, cart management, and payment gateway integration
Designed a user-friendly interface with responsive design
Tested and deployed on a cloud-based server
An angle inscribed in a semi-circle is always a right angle.
A semi-circle is a 180-degree angle.
An inscribed angle is half the measure of the intercepted arc.
The intercepted arc of a semi-circle is 180 degrees.
Therefore, the inscribed angle is 90 degrees.
The angle made by two chords meeting at a point on the circle is half of the sector created by them.
The angle is formed by two chords that intersect at a point on the circle.
The sector is the region enclosed by the two radii and the arc between them.
The angle is half of the sector, which means it is equal to half of the central angle of the sector.
This theorem is known as the 'Angle-Sector Theorem'.
I am a software developer with experience in Java and Python.
I have a Bachelor's degree in Computer Science.
I have worked on projects involving web development, data analysis, and machine learning.
I am proficient in Java and Python programming languages.
I am a quick learner and enjoy working in a team environment.
I was actively involved in various technical and cultural clubs at VJTI.
Member of VJTI's coding club, CodeX
Participated in various hackathons and coding competitions
Organized and participated in cultural events like VJTI's annual festival, 'TECHNOSAAZ'
Volunteered for social initiatives like blood donation drives and cleanliness drives
Geometric refers to the branch of mathematics that deals with the study of shapes, sizes, and positions of objects.
Geometric shapes include circles, squares, triangles, and rectangles.
Geometric concepts are used in fields such as architecture, engineering, and computer graphics.
Geometric formulas are used to calculate area, volume, and other measurements of shapes.
Geometric transformations involve moving, rotating, or ...
I have the skills, experience, and passion to contribute to your team and help achieve your goals.
I have a strong background in software development, with experience in multiple programming languages and frameworks.
I am a quick learner and enjoy staying up-to-date with the latest technologies and industry trends.
I am a team player and enjoy collaborating with others to solve complex problems and deliver high-quality so...
The day I received my first job offer as a software developer.
I had been searching for a job for months and was feeling discouraged.
I received the offer via email and was ecstatic.
I immediately called my family and friends to share the news.
It was a turning point in my career and life.
I felt grateful for the opportunity and excited for the future.
I learned the importance of perseverance, adaptability, and continuous learning.
Perseverance is key to achieving goals and overcoming obstacles.
Adaptability is necessary to navigate through life's changes and challenges.
Continuous learning is essential to stay relevant and grow both personally and professionally.
I feel happy when I accomplish something challenging or spend time with loved ones.
Accomplishing a difficult task or project
Spending quality time with family and friends
Achieving a personal goal
Helping others
Enjoying a hobby or activity
Experiencing new things or traveling
I feel nervous when I am in unfamiliar situations or when I am presenting to a large audience.
Unfamiliar situations
Presenting to a large audience
Meeting new people
Taking risks
Making important decisions
Yes, I am satisfied with what I have achieved so far.
I have successfully completed several projects that have received positive feedback from clients.
I have gained valuable experience in various programming languages and technologies.
I have also contributed to open-source projects and participated in hackathons.
However, I am always looking to learn and improve my skills.
I can prove my hard work through my consistent dedication, meeting deadlines, and delivering quality work.
Consistently meeting or exceeding deadlines
Going above and beyond to deliver quality work
Taking on additional responsibilities willingly
Working long hours when necessary
Receiving positive feedback from colleagues or superiors
My strengths include problem-solving, attention to detail, and a strong work ethic.
Strong problem-solving skills
Attention to detail
Strong work ethic
Ability to work well under pressure
Excellent communication skills
Ability to learn quickly
Flexibility and adaptability
Team player
I tend to overthink and sometimes struggle with time management.
Overthinking can lead to analysis paralysis, so I try to focus on taking action.
I use time management tools like calendars and to-do lists to stay organized.
I also prioritize tasks and delegate when possible to ensure I meet deadlines.
For example, I once struggled with a project deadline but learned to break it down into smaller tasks and delegate some of ...
Yes, I am interested in pursuing further education to enhance my skills and knowledge.
I believe that continuous learning is essential in the field of technology.
I am interested in exploring new technologies and advancements in the industry.
Further education will help me stay up-to-date with the latest trends and best practices.
I am considering pursuing a master's degree in computer science or a related field.
I am also ...
No, I did not apply for GATE, CAT, GRE.
I did not apply for GATE, CAT, GRE as I did not feel the need to pursue further studies at the moment.
I am currently focused on gaining practical experience in software development.
I may consider pursuing higher studies in the future if it aligns with my career goals.
My preferred job location is a city with a good work-life balance and opportunities for growth.
I prefer a city with a low cost of living
I want to work in a city with a good public transportation system
I prefer a city with a diverse population
I want to work in a city with a strong tech industry
I prefer a city with a good work-life balance
I am open to exploring other locations based on the job opportunity.
I am willing to consider other locations if the job opportunity is a good fit.
Location is not the only factor in my decision-making process.
I am flexible and adaptable to new environments.
I am excited about the possibility of exploring new places and cultures.
I am open to discussing relocation packages and options.
I have the necessary skills and experience to contribute to Geometric's success.
I have a strong background in software development and have worked on projects similar to those at Geometric.
I am familiar with the technologies and tools used by Geometric and am eager to learn more.
I am a team player and believe in collaborating with others to achieve common goals.
I am passionate about software development and am always l...
Find the odd ball among 9 balls using a balance in 3 trials.
Divide the balls into 3 groups of 3 balls each.
Weigh any two groups on the balance.
If the two groups weigh the same, the odd ball is in the third group.
If one group is heavier, weigh two balls from that group to find the odd ball.
If the two balls weigh the same, the odd ball is the remaining one.
If one ball is heavier, that is the odd ball.
Repeat the process w...
Both eggs weigh the same.
The weight of an egg is determined by its size and contents, not its cooking method.
Boiling an egg does not change its mass.
The difference in weight between a boiled egg and a raw egg is negligible.
The weight of an egg can vary depending on the breed of chicken that laid it.
Both are of the same weight, 1 kg.
Both weigh the same as they are 1 kg each.
The question is a trick question as it assumes one is heavier than the other.
The weight of an object is determined by its mass and not its material.
The question tests the candidate's ability to identify trick questions.
Top trending discussions
posted on 22 May 2022
I applied via LinkedIn and was interviewed before May 2021. There was 1 interview round.
I applied via Monster and was interviewed before Apr 2020. There was 1 interview round.
A generic swap function swaps two values of any data type.
The function should take two parameters of any data type.
Use a temporary variable to store the value of one parameter.
Assign the value of the second parameter to the first parameter.
Assign the value of the temporary variable to the second parameter.
Search for an element in a rotated sorted linked list.
Find the pivot point where the list is rotated.
Divide the list into two sublists based on the pivot point.
Perform binary search on the appropriate sublist.
Handle edge cases such as empty list and list with only one element.
Search an element in a rotated sorted array
Find the pivot point where the array is rotated
Divide the array into two sub-arrays based on pivot point
Perform binary search on the appropriate sub-array
Repeat until element is found or sub-array size is 1
Given a Sudoku board, find possible numbers for an empty cell.
Iterate through empty cells and check possible numbers using row, column, and box constraints.
Use a set to keep track of possible numbers for each empty cell.
Return the set of possible numbers for the given empty cell.
Find integer average of 4 unsigned integers without typecasting
Add all the integers and divide by 4
Use bit shifting to divide by 4
Handle overflow by using long long data type
Use unsigned int data type for input
Code to identify 32 bit or 64 bit architecture of a processor
Check if the operating system is 32 bit or 64 bit
If OS is 32 bit, processor is 32 bit
If OS is 64 bit, check if processor supports 64 bit architecture
Use CPUID instruction to check if processor supports 64 bit architecture
Convert binary number to base 64 integer
Divide the binary number into groups of 6 bits
Convert each group of 6 bits to decimal
Map the decimal value to the corresponding base 64 character
Concatenate the base 64 characters to form the final integer
Creating test cases for random scenarios ensures software reliability and robustness through diverse input validation.
Identify edge cases: Test with minimum and maximum input values, e.g., an empty array vs. a large array.
Use random data: Generate random inputs to simulate real-world usage, e.g., random user names or passwords.
Test invalid inputs: Ensure the system handles unexpected inputs gracefully, e.g., negative n...
posted on 31 Jan 2017
I appeared for an interview before Jan 2016.
AVL tree balance checking ensures that the tree maintains its height-balanced property after insertions and deletions.
An AVL tree is a self-balancing binary search tree.
The balance factor (BF) of a node is defined as the height of the left subtree minus the height of the right subtree.
A node is considered balanced if its BF is -1, 0, or +1.
To check balance, recursively calculate the height of left and right subtrees fo...
Find median of 2 sorted arrays in O(log N) time complexity and O(1) space complexity
Use binary search to find the partition point in both arrays
Calculate the median based on the partition point and array sizes
Adjust the partition points based on the median value
Repeat until the partition points are at the median
Handle edge cases such as empty arrays and uneven array sizes
Anagram of strings in O(1) space complexity
Use a fixed size array of integers to store the frequency of characters in the first string
Iterate through the second string and decrement the frequency of each character in the array
If all the frequencies are zero, then the strings are anagrams
Return true or false accordingly
Level order traversal of a tree using Queue
Create a queue and add the root node to it
While the queue is not empty, remove the front node and print its value
Add the left and right child nodes of the removed node to the queue
Repeat until the queue is empty
Reverse level order traversal of a tree using Queue
Create a queue and push the root node into it
While the queue is not empty, pop the front node and push its children into the queue
Add the popped node to a stack
Once the queue is empty, pop elements from the stack and print them
BFS and DFS are graph traversal algorithms. BFS explores nodes level by level while DFS explores nodes depth by depth.
BFS uses a queue while DFS uses a stack or recursion.
BFS is optimal for finding shortest path while DFS is optimal for finding a path between two nodes.
BFS requires more memory as it stores all the nodes at each level while DFS requires less memory.
BFS can be used to find connected components while DFS ...
Check if parentheses in a string are balanced using a stack-based approach.
Use a stack to track opening parentheses: '(', '{', '['.
For each closing parenthesis: check if it matches the top of the stack.
If the stack is empty at the end, parentheses are balanced.
Example: '((){})' is balanced, but '((())' is not.
Find product of each element of an array except that element in O(N) time complexity without using / operation
Use prefix and suffix products
Multiply prefix and suffix products for each element to get the final product
Handle edge cases where array has 0 or 1 element separately
Recursively delete a linked list
Create a recursive function that takes the head of the linked list as input
Base case: if the head is null, return
Recursively call the function with the next node as input
Delete the current node
Recursively delete a linked list from the end.
Start from the head and recursively traverse to the end of the list.
Delete the last node and set the second last node's next pointer to null.
Repeat until the entire list is deleted.
Use a recursive function to implement the deletion process.
Recursively delete a tree by deleting all its child nodes and then the parent node.
Start from the leaf nodes and delete them first.
Then move up to the parent nodes and delete them.
Repeat until the root node is deleted.
Use post-order traversal to ensure child nodes are deleted before parent nodes.
Recursively delete elements from the end of an array.
Create a recursive function that removes the last element of the array.
Call the function recursively until the desired number of elements are removed.
Handle edge cases such as empty arrays and removing more elements than the array contains.
Floyd Warshall finds shortest path between all pairs of vertices while Djikstra finds shortest path from a single source.
Floyd Warshall is used for dense graphs while Djikstra is used for sparse graphs.
Floyd Warshall has a time complexity of O(n^3) while Djikstra has a time complexity of O((n+m)logn).
Floyd Warshall can handle negative edge weights while Djikstra cannot.
Floyd Warshall can detect negative cycles while Dj...
There is no known algorithm to find shortest path in 2-D space in O(log N) time.
The best known algorithm for finding shortest path in 2-D space is Dijkstra's algorithm which has a time complexity of O(N^2).
Other algorithms like A* and Bellman-Ford have better time complexity but still not O(log N).
If the points are on a grid, Lee algorithm can be used which has a time complexity of O(N).
Design a system for putting newspapers using classes and functions
Create a Newspaper class with attributes like title, date, and content
Create a Publisher class with methods to publish and distribute newspapers
Create a Subscriber class with methods to subscribe and receive newspapers
Use inheritance to create different types of newspapers like daily, weekly, etc.
Implement a database to store newspaper information and ha...
I believe practical experience is more valuable than higher studies.
I have gained valuable experience through internships and projects.
I prefer hands-on learning and problem-solving over theoretical knowledge.
I am constantly learning and improving my skills through online courses and workshops.
Some of the top questions asked at the Geometric Software Developer interview -
based on 1 review
Rating in categories
Senior Software Engineer
13
salaries
| ₹5.5 L/yr - ₹13 L/yr |
Senior Design Engineer
10
salaries
| ₹5 L/yr - ₹12 L/yr |
Design Engineer
9
salaries
| ₹2 L/yr - ₹6.1 L/yr |
Software Engineer
6
salaries
| ₹4.2 L/yr - ₹9 L/yr |
Software Developer
6
salaries
| ₹3 L/yr - ₹6 L/yr |
Oracle
KPIT Technologies
Intellect Design Arena
Oracle Cerner