i
nCircle Tech
Filter interviews by
I applied via Approached by Company and was interviewed in Aug 2024. There was 1 interview round.
A vector is a dynamic array that can resize itself automatically when elements are added or removed.
Vectors are part of the C++ Standard Template Library (STL).
They provide similar functionality to arrays but with additional features like automatic resizing.
Vectors can be accessed using index notation and have methods for adding, removing, and accessing elements.
Example: vector
To project a point on a line, calculate the perpendicular distance from the point to the line and find the point on the line that is closest to the given point.
Calculate the slope of the line
Find the equation of the line
Calculate the perpendicular distance from the point to the line using the formula |Ax + By + C| / sqrt(A^2 + B^2)
Find the point on the line that is closest to the given point by moving along the perpend
Yes, JavaScript is an asynchronous language.
JavaScript uses callbacks and promises to handle asynchronous operations.
Asynchronous functions allow other code to run while waiting for a response.
Example: setTimeout() function in JavaScript is asynchronous.
Matrix multiplication is a mathematical operation that combines two matrices to produce a third matrix.
Matrix multiplication involves multiplying the rows of the first matrix by the columns of the second matrix.
The number of columns in the first matrix must equal the number of rows in the second matrix.
The resulting matrix will have the same number of rows as the first matrix and the same number of columns as the secon
Program to create Fibonacci sequence pyramid
Start by defining the number of rows for the pyramid
Use nested loops to generate Fibonacci numbers for each row
Print the Fibonacci numbers in pyramid format
I applied via LinkedIn and was interviewed in Jun 2024. There were 2 interview rounds.
It covered the basics, focusing on concepts like boat speed and different types.
Based on leetcodes bacis questionsa
I applied via Company Website and was interviewed in Jan 2023. There was 1 interview round.
OOP's pillars are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Binding data and functions together and restricting access to them.
Inheritance: Creating new classes from existing ones, inheriting properties and methods.
Polymorphism: Ability of objects to take on many forms and perform different actions based on
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to create a new object with the same values as an existing object.
It takes an object of the same class as a parameter.
It is used to avoid shallow copy issues.
Example: MyClass(const MyClass& obj) { //copy constructor code }
Shallow copy creates a new object with the same reference as the original, while deep copy creates a new object with a new reference.
Shallow copy only copies the reference of the original object, while deep copy creates a new object with a new reference and copies the values of the original object.
In Python, shallow copy can be made using the copy() method, while deep copy can be made using the deepcopy() method from t...
Function overriding is a feature in object-oriented programming where a subclass provides a different implementation of a method that is already defined in its superclass.
It allows a subclass to provide its own implementation of a method that is already defined in its superclass.
The method in the subclass must have the same name, return type, and parameters as the method in the superclass.
The method in the subclass can...
Reference is an alias to an existing variable while pointer is a variable that stores the memory address of another variable.
References cannot be null while pointers can be null
References cannot be re-assigned while pointers can be re-assigned
L-value refers to the memory location of a variable while R-value refers to the value stored in that memory location
Program to reverse string without extra space using recursion
Use a recursive function to swap the first and last characters of the string
Recursively call the function on the remaining substring
Base case: when the string length is 0 or 1, return the string itself
I have used vector, deque, list, stack, queue, and priority_queue containers in STL.
Vector is used for dynamic arrays.
Deque is used for double-ended queues.
List is used for doubly linked lists.
Stack is used for LIFO data structure.
Queue is used for FIFO data structure.
Priority_queue is used for priority queues.
Top trending discussions
I applied via campus placement at G L Bajaj Institute of Technology & Management, Greater Noida and was interviewed in Oct 2024. There were 3 interview rounds.
They asked some general Quantitative and logical questions and code snippets.
Code Snept question with 3-4 Reasoning question. Google form
Pen paper coding round. String , Array . Linkedlist , graph, questions
To find the nearest prime number, iterate from the given number in both directions until a prime number is found.
Start iterating from the given number in both directions to find the nearest prime number.
Check if a number is prime by dividing it by all numbers less than its square root.
Keep track of the closest prime number found during the iteration.
Find the second maximum number in an array of strings.
Convert the array of strings to an array of integers.
Sort the array in descending order.
Return the second element in the sorted array.
posted on 17 Oct 2024
I applied via Walk-in
To implement a queue using a stack, use two stacks and simulate the queue operations.
Use two stacks, one for enqueue operation and one for dequeue operation.
For enqueue operation, simply push elements onto the stack used for enqueueing.
For dequeue operation, if the dequeue stack is empty, pop all elements from enqueue stack and push onto dequeue stack.
Then pop from the dequeue stack to simulate dequeue operation.
A linked list is a data structure consisting of nodes where each node points to the next node in the sequence.
Create a Node class with data and next pointer
Initialize a head pointer to null
Add nodes by updating next pointers
Traverse the list by following next pointers
posted on 5 Aug 2024
It is very impressive work on Josh technology assessment because we learn many new skills.
API stands for Application Programming Interface. It is a set of rules and protocols that allows different software applications to communicate with each other.
APIs define the methods and data formats that applications can use to request and exchange information.
APIs can be used to access services provided by other software applications, such as retrieving data from a database or sending notifications.
Examples of APIs ...
Software development life cycle (SDLC) is a process used by software developers to design, develop, and test software.
1. Planning: Define the project scope, requirements, and objectives.
2. Analysis: Gather and analyze user requirements.
3. Design: Create a detailed design of the software.
4. Implementation: Develop the software based on the design.
5. Testing: Test the software for bugs and issues.
6. Deployment: Release t...
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
It was ok. I was not able to solve all the questions.
To remove the last element from a linked list, iterate to the second last node and update its next pointer to null.
Iterate through the linked list to find the second last node
Update the next pointer of the second last node to null
I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.
The interviewer asked about javascript basics and DSA questions and some typescript questions
Coding for international
based on 15 reviews
Rating in categories
Software Developer
52
salaries
| ₹3.6 L/yr - ₹15 L/yr |
Member Technical Staff
34
salaries
| ₹3 L/yr - ₹7 L/yr |
Senior Software Developer
31
salaries
| ₹6.8 L/yr - ₹19.7 L/yr |
BIM Modeller
18
salaries
| ₹3 L/yr - ₹6.5 L/yr |
BIM Engineer
16
salaries
| ₹4.1 L/yr - ₹7.5 L/yr |
Persistent Systems
LTIMindtree
L&T Technology Services
Cyient