i
Coforge
Filter interviews by
I was interviewed in Oct 2023.
Count the occurrences of a given pattern in a string.
Iterate through the string and check for the pattern at each position
Increment a counter whenever the pattern is found
Return the final count
I applied via Scaler and was interviewed in Sep 2023. There were 3 interview rounds.
Balanced Bracket problem. {}[]()
Coforge interview questions for designations
OOPS concepts refer to Object-Oriented Programming concepts, which include principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: class B extends class A.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.
Polymo...
Top trending discussions
Developed a web application for tracking employee attendance and performance
Implemented user authentication and authorization using Spring Security
Utilized Hibernate for database interaction and data persistence
Designed and developed RESTful APIs for frontend integration
Used AngularJS for frontend development to create interactive user interfaces
HashMap internally uses an array of linked lists to store key-value pairs.
HashMap uses hashing to determine the index of the key in the array.
If multiple keys hash to the same index, a linked list is used to store them.
When retrieving a value, the key is hashed to find the index and then the linked list is searched for the key.
Vector is synchronized and slower, ArrayList is unsynchronized and faster.
Vector is synchronized, ArrayList is not.
Vector is slower due to synchronization, ArrayList is faster.
Vector is legacy class, ArrayList is part of Java Collections framework.
Vector doubles its size when full, ArrayList increases by 50%.
I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.
Aptitude questions and some questions from PostgreSQL.
HashMap, LinkedList, HashSet, and Heap are data structures commonly used in Java for storing and organizing data.
HashMap: key-value pairs, uses hashing to store and retrieve elements efficiently (e.g. HashMap
LinkedList: linear data structure, elements are stored in nodes with pointers to the next node (e.g. LinkedList
HashSet: collection of unique elements, uses hashing to ensure uniqueness (e.g. Hash...
Comparable is an interface used for natural ordering, while Comparator is used for custom ordering in Java.
Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be sorted.
Comparator interface is used to define custom ordering of objects. It is implemented by a separate class that compares objects based on specific criteria.
Example: Sorting a list of ...
List allows duplicate elements and maintains insertion order, while Set does not allow duplicates and does not maintain order.
List can contain duplicate elements, Set cannot
List maintains insertion order, Set does not guarantee order
List is implemented by classes like ArrayList, LinkedList, Set is implemented by classes like HashSet, TreeSet
Example: List
based on 4 interviews
Interview experience
based on 6 reviews
Rating in categories
Senior Software Engineer
4.8k
salaries
| ₹6.2 L/yr - ₹26 L/yr |
Technical Analyst
2.6k
salaries
| ₹10.6 L/yr - ₹38.4 L/yr |
Software Engineer
2k
salaries
| ₹2.2 L/yr - ₹9.5 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.7 L/yr - ₹19.5 L/yr |
Technology Specialist
1.1k
salaries
| ₹12 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys