i
Digiglobe
Solutions
Filter interviews by
Elements in an array can be accessed by using their index positions.
Access elements by specifying the index position within square brackets, starting from 0.
For example, to access the first element in an array named 'colors': colors[0] will give the first element.
Loop through the array to access all elements sequentially.
Elements can be deleted from an array using various methods like splice(), pop(), shift(), and filter().
Use splice() method to delete elements by index
Use pop() method to remove the last element
Use shift() method to remove the first element
Use filter() method to create a new array without the elements to be deleted
Top trending discussions
posted on 5 Jun 2021
I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed in Jun 2021. There were 3 interview rounds.
posted on 21 Dec 2024
I applied via Campus Placement
General aptitude, computer science fundamentals multiple-choice questions, and data structures and algorithms multiple-choice questions were asked.
Function to reverse a given string
Create an empty string to store the reversed string
Iterate through the input string in reverse order and append each character to the new string
Return the reversed string
Binary search function to find target value in sorted array
Define function that takes sorted array and target value as input
Initialize variables for start, end, and middle indices
Use while loop to iterate until start is less than or equal to end
Graduating with honors, winning a hackathon, volunteering in a developing country
Graduated with honors from university with a degree in Computer Science
Won first place in a hackathon competition by developing a unique and innovative software solution
Volunteered in a developing country to help build schools and provide education to underprivileged children
posted on 24 May 2024
ConcurrentHashMap is a thread-safe implementation of the HashMap class in Java.
ConcurrentHashMap allows multiple threads to read and write to the map concurrently without causing any data corruption.
It achieves thread-safety by dividing the map into segments, each of which can be locked independently.
ConcurrentHashMap is more efficient than using synchronized collections for concurrent access.
Example: ConcurrentHashMap...
Dependency injection is a design pattern where dependencies are provided to a class from the outside, while dependency inversion is a principle that states high-level modules should not depend on low-level modules, but both should depend on abstractions.
Dependency injection is a technique to achieve dependency inversion.
Dependency injection involves providing dependencies to a class from the outside, typically through ...
No, you will not see 2 objects in the set. To insert unique objects to a set, you can override the equals() and hashCode() methods in the object class.
In a set, each element must be unique based on the equals() method. If you add 2 objects with the same attribute values, only one will be stored in the set.
To ensure uniqueness, override the equals() and hashCode() methods in the object class. This will define how object...
Serialisation is the process of converting an object into a format that can be easily stored or transmitted. Externalisation is a way to customize the serialization process. Serializable is an interface in Java that allows objects to be serialized.
Serialisation is the process of converting an object into a format that can be easily stored or transmitted
Externalisation is a way to customize the serialization process
Seri...
Create a generic method to add string or integer to List<Integer> or List<String>
Create a generic method that takes a List and an element as input
Use Java generics to specify the type of List and element
Check the type of List and element, then add the element to the List
posted on 24 Jun 2022
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
Oops concept, basic javascript and react js coding question
posted on 11 Apr 2025
I appeared for an interview in Mar 2025, where I was asked the following questions.
LRDI quants and verbal question
posted on 16 Jun 2024
Aptitude test basic on java
posted on 19 Aug 2024
Abstract class is a class that cannot be instantiated and is used as a blueprint for other classes to inherit from.
Cannot be instantiated directly
Can have abstract methods that must be implemented by subclasses
Can have non-abstract methods that can be inherited by subclasses
Used to define common behavior for subclasses
Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and variables.
Access modifiers control the visibility and accessibility of classes, methods, and variables in a program.
Common access modifiers include public, private, protected, and default (package-private).
Public access modifier allows access from any other class.
Private access modifier restricts access to only...
I expect a competitive salary based on my skills, experience, and industry standards.
Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for Full Stack Developers.
Consider my experience level: With 5 years of experience, I would expect a salary in the range of $80,000 to $100,000.
Factor in location: Salaries can vary significantly based on the cost of living in dif...
based on 1 interview experience
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant