Add office photos
Engaged Employer

FactSet

3.9
based on 1.4k Reviews
Video summary
Filter interviews by

10+ BSC Global Interview Questions and Answers

Updated 8 Sep 2024
Popular Designations

Q1. find a number which occurs odd number of times and all number occurs even number of times

Ans.

Find an odd occurring number among even occurring numbers.

  • Use XOR operation to cancel out even occurring numbers and get the odd occurring number.

  • Iterate through the array and XOR each element with the result variable.

  • The final result will be the odd occurring number.

View 1 answer

Q2. find total number of k element which have a given avg in a given array in minimum time complexity

Ans.

Find total number of k element with given avg in an array in minimum time complexity.

  • Use sliding window technique to traverse the array in O(n) time complexity.

  • Maintain a sum variable to keep track of the sum of elements in the window.

  • If the sum of elements in the window is equal to k times the given avg, increment the count.

  • Move the window by subtracting the first element and adding the next element in the array.

Add your answer

Q3. print all elements which in not boundary element in a given binary tree

Ans.

Printing non-boundary elements of a binary tree

  • Traverse the tree in any order (preorder, inorder, postorder)

  • Check if the current node is not a boundary node (not the first or last node in its level)

  • If it is not a boundary node, print its value

  • Recursively traverse its left and right subtrees

Add your answer

Q4. find pair which have a given sum in a given array

Ans.

Finding pairs in an array with a given sum.

  • Iterate through the array and for each element, check if the difference between the given sum and the element exists in the array.

  • Use a hash table to store the elements of the array and their indices for faster lookup.

  • If there are multiple pairs with the same sum, return any one of them.

  • If no pair is found, return null or an empty array.

Add your answer
Discover BSC Global interview dos and don'ts from real experiences

Q5. spiral order of binary tree and mattrix, print it

Ans.

Print the spiral order of a binary tree and matrix.

  • For binary tree, use level order traversal and alternate direction for each level.

  • For matrix, use four pointers to traverse in spiral order.

  • Example for binary tree: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9

  • Example for matrix: 1 2 3 4 -> 8 7 6 5 -> 9 10 11 12 -> 16 15 14 13

Add your answer

Q6. coding : Given array and target, find the index pair of elements the sum becomes target

Ans.

Given an array and target, find the index pair of elements the sum becomes target.

  • Use a hash table to store the difference between target and current element

  • Check if the difference exists in the hash table

  • Return the indices of the current element and the difference

Add your answer
Are these interview questions helpful?

Q7. what is data structure ?

Ans.

Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently.

  • Data structures are used to manage large amounts of data efficiently.

  • They provide a way to organize data in a way that makes it easy to access and manipulate.

  • Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs.

Add your answer

Q8. what is linked list?

Ans.

A linked list is a linear data structure where each element is a separate object with a pointer to the next element.

  • Consists of nodes that contain data and a pointer to the next node

  • Can be singly or doubly linked

  • Used for dynamic memory allocation, implementing stacks and queues

  • Example: Singly linked list - 1 -> 2 -> 3 -> null

  • Example: Doubly linked list - null <- 1 <-> 2 <-> 3 -> null

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Implementation of hashmap using OOPS

Ans.

Implementing hashmap using OOPS involves creating a class with key-value pairs and methods for adding, retrieving, and deleting entries.

  • Create a class with private data members for storing key-value pairs

  • Implement methods for adding a key-value pair, retrieving a value by key, and deleting a key-value pair

  • Use hashing function to map keys to indices in an array for efficient retrieval

  • Handle collisions by using techniques like chaining or open addressing

Add your answer

Q10. Prototype in JavaScript

Ans.

Prototyping in JavaScript allows for quick and easy creation of new objects and functions.

  • Prototyping allows for inheritance and sharing of properties and methods.

  • New objects can be created using the 'new' keyword and the prototype of an existing object.

  • Functions can also be prototyped to add new methods or properties.

  • Example: function Person(name) { this.name = name; } Person.prototype.greet = function() { console.log('Hello, my name is ' + this.name); } var john = new Perso...read more

Add your answer

Q11. your techniclal skills

Ans.

Proficient in programming languages such as Java, Python, and C++, as well as experience with databases and web development.

  • Strong knowledge of Java, Python, and C++ programming languages

  • Experience with databases such as MySQL and MongoDB

  • Familiarity with web development technologies like HTML, CSS, and JavaScript

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at BSC Global

based on 5 interviews
2 Interview rounds
Coding Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 101 Interview Questions
4.1
 • 62 Interview Questions
3.5
 • 34 Interview Questions
3.7
 • 27 Interview Questions
3.3
 • 17 Interview Questions
3.6
 • 15 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