Add office photos
Engaged Employer

Ameyo

3.4
based on 140 Reviews
Filter interviews by

iQuasar Software Solutions Interview Questions and Answers

Updated 5 Feb 2024
Asked in
SDE Interview

Q1. An array A of size m+n is given whose first m elements are filled up with sorted elements. Another array B with size n filled with sorted elements. Now we have to fill all m+n elements of both array in array A...

read more
Ans.

Merge two sorted arrays into one sorted array with one traversal.

  • Use two pointers to track the current elements in arrays A and B.

  • Compare the elements at the current pointers and insert the smaller one into array A.

  • Move the pointer of the array from which the smaller element was inserted.

  • Repeat the above steps until all elements are merged into array A.

Add your answer
Asked in
SDE Interview

Q2. Get mth element of an stack which is filled up with n elements. where n>m without using another stack

Ans.

To get the mth element of a stack with n elements, without using another stack.

  • Create a temporary variable to store the mth element

  • Pop the top (n-m) elements from the stack and discard them

  • Pop and store the mth element in the temporary variable

  • Push back the discarded elements to the stack

  • Return the temporary variable as the result

Add your answer
Asked in
SDE Interview

Q3. Sort the linklist by node whose alternate nodes are already sorted

Ans.

Sort a linked list by nodes whose alternate nodes are already sorted.

  • Traverse the linked list and identify the alternate nodes.

  • Sort the alternate nodes using any sorting algorithm.

  • Merge the sorted alternate nodes back into the original linked list.

Add your answer
Asked in
SDE Interview

Q4. Uses and advantages and disadvantages Macros over functions

Ans.

Macros are preprocessor directives that replace code at compile time. They offer faster execution but can be error-prone.

  • Macros are faster than functions as they are replaced at compile time

  • Macros can be used for conditional compilation

  • Macros can be used to define constants

  • Macros can be error-prone as they do not undergo type-checking

  • Macros can make code harder to read and debug

Add your answer
Discover iQuasar Software Solutions interview dos and don'ts from real experiences
Asked in
SDE Interview

Q5. Make a function to delete nodes from Dequeue

Ans.

A function to delete nodes from a Dequeue.

  • Create a function that takes the Dequeue and the value of the node to be deleted as parameters.

  • Traverse the Dequeue to find the node with the given value.

  • If the node is found, update the pointers of the previous and next nodes to bypass the node to be deleted.

  • If the node is the first or last node, update the head or tail pointers accordingly.

  • Free the memory allocated to the node.

  • Handle cases where the Dequeue is empty or the node is n...read more

Add your answer
Asked in
SDE Interview

Q6. major training Future plans n all

Ans.

I have completed my major training in computer science and have future plans to specialize in software development.

  • Completed major training in computer science

  • Future plans to specialize in software development

  • Continuously learning and updating skills

  • Attending relevant workshops and conferences

  • Building personal projects to enhance practical knowledge

Add your answer
Asked in
SDE Interview

Q7. Print all permutations of string

Ans.

The answer provides a solution to print all permutations of a given string.

  • Use recursion to generate all possible permutations

  • Swap characters at different positions to generate different permutations

  • Use a set to avoid duplicates

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top SDE Interview Questions from Similar Companies

4.1
 • 47 Interview Questions
4.0
 • 14 Interview Questions
4.4
 • 14 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter