Add office photos
Employer?
Claim Account for FREE

Jio Platforms

3.5
based on 1.2k Reviews
Filter interviews by

20+ Sarsa Financial Advisory Services Interview Questions and Answers

Updated 31 Aug 2024
Popular Designations
Q1. Count Distinct Subarrays With At Most K Odd Elements

You are given an array “A” of N integers. Your task is to find the total number of distinct subarrays of A having at most K odd elements.

Note :
Two subarrays...read more
Add your answer

Q2. Is is possible to implement stack using queues ?

Ans.

Yes, it is possible to implement stack using queues.

  • Implement push operation by enqueueing elements to the queue.

  • Implement pop operation by dequeuing all elements except the last one and enqueueing them again.

  • The last element in the queue will be the top element of the stack.

  • Example: Queue: 1 2 3 4 5, Stack: 5 4 3 2 1

Add your answer

Q3. Tell me something about recursion also do you have idea about time and space complexity.

Ans.

Recursion is a process in which a function calls itself. Time and space complexity are important factors to consider while using recursion.

  • Recursion is used to solve problems that can be broken down into smaller sub-problems.

  • It involves a base case and a recursive case.

  • Time complexity refers to the amount of time taken by an algorithm to run, while space complexity refers to the amount of memory used by an algorithm.

  • Recursion can have high time and space complexity, so it's i...read more

Add your answer
Q4. Technical Questions

1) What is class?
2) Difference between static IP and dynamic IP?
3) Is static public valid in java and why?
4) Difference between SQL and MySQL?
5) Difference between group by and order by?
6) Qu...read more

Add your answer
Discover Sarsa Financial Advisory Services interview dos and don'ts from real experiences

Q5. What is Frontend, Do you know Node js ?

Ans.

Frontend is the part of a website or application that users interact with. Node.js is a JavaScript runtime environment.

  • Frontend refers to the user interface and user experience of a website or application.

  • It includes the design, layout, and functionality of the website or application.

  • Node.js is a JavaScript runtime environment that allows developers to run JavaScript on the server-side.

  • It is commonly used for building scalable and high-performance web applications.

  • Node.js can...read more

Add your answer

Q6. what is the difference between list and tuple?

Ans.

List and tuple are both data structures in Python, but list is mutable while tuple is immutable.

  • List is defined using square brackets [], while tuple is defined using parentheses ().

  • Elements in a list can be added, removed, or modified, while elements in a tuple cannot be modified.

  • Lists are used for collections of data that may change over time, while tuples are used for fixed collections of data.

  • Lists are generally faster for iteration and appending, while tuples are faster ...read more

Add your answer
Are these interview questions helpful?

Q7. What is the use of marquee tag?

Ans.

Marquee tag is used to create scrolling text or images on a web page.

  • It is an HTML tag that is used to create a scrolling effect.

  • It is commonly used to display news headlines or advertisements.

  • It can be used to create scrolling images as well.

  • It is not recommended to use as it is not supported in HTML5.

View 1 answer

Q8. What is SDLC ? DDL and DML commands? What is right join explain it with an example? What is LIFO and LILO ? Real time application of python? What is linked list?

Ans.

A set of questions related to software development, database management, and data structures.

  • SDLC stands for Software Development Life Cycle and is a process used to design, develop, and test software.

  • DDL (Data Definition Language) commands are used to create, modify, and delete database objects like tables, indexes, etc.

  • DML (Data Manipulation Language) commands are used to insert, update, and delete data in a database.

  • Right join is a type of SQL join that returns all the row...read more

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

Q9. What are constructors and destructors?

Ans.

Constructors and destructors are special member functions in object-oriented programming languages.

  • Constructors are used to initialize the object's data members when an object is created.

  • Destructors are used to free up the memory allocated to the object when it is destroyed.

  • Constructors have the same name as the class and no return type.

  • Destructors have the same name as the class preceded by a tilde (~) and no return type.

  • Example: class Car { public: Car(); ~Car(); };

  • Construc...read more

View 1 answer

Q10. Find nth smallest and largest element (optimal solution)

Ans.

Finding nth smallest and largest element in an array

  • Sort the array and return the nth smallest/largest element

  • Use quickselect algorithm for optimal solution

  • For nth smallest element, partition the array around pivot until pivot index is n-1

  • For nth largest element, partition the array around pivot until pivot index is len(array)-n

  • Handle edge cases like n being greater than array length

Add your answer

Q11. Which is fast c or python during execution? Difference between malloc and calloc ? What is memory allocation? What is method overriding? Why Jio?

Ans.

Questions related to programming and Jio

  • Python is slower than C during execution

  • malloc allocates memory without initializing it, while calloc allocates and initializes memory to zero

  • Memory allocation is the process of reserving a portion of the computer's memory for a program to use

  • Method overriding is when a subclass provides a different implementation of a method that is already defined in its superclass

  • Jio is a popular Indian telecommunications company known for its afford...read more

Add your answer

Q12. What are data types in python?

Ans.

Data types in Python are the classification of data items that determine the operations that can be performed on them.

  • Python has several built-in data types such as integers, floats, strings, booleans, and complex numbers.

  • Lists, tuples, and dictionaries are also data types in Python.

  • Each data type has its own set of operations that can be performed on it.

  • For example, arithmetic operations can be performed on integers and floats, but not on strings.

  • Boolean data types can only ...read more

View 1 answer

Q13. Write a query to print the no of employees having salary more than 5000/-

Ans.

Query to print the number of employees with salary > 5000/-

  • Use SELECT COUNT(*) to count the number of employees

  • Add WHERE clause to filter employees with salary > 5000/-

Add your answer

Q14. Is there difference between SQL and MySQL

Ans.

Yes, there is a difference between SQL and MySQL.

  • SQL is a standardized language for managing relational databases, while MySQL is a specific relational database management system (RDBMS) that uses SQL as its language.

  • SQL is a language used to communicate with databases, while MySQL is a software that implements and manages databases.

  • MySQL is one of the many RDBMS options available, while SQL is a language used across different RDBMS platforms.

  • SQL can be used with other RDBMS ...read more

View 1 answer

Q15. Why is dbms used?

Ans.

DBMS is used to manage and organize large amounts of data efficiently.

  • DBMS provides a centralized and secure way to store and retrieve data.

  • It allows multiple users to access and modify data simultaneously.

  • It ensures data integrity and consistency through various constraints and rules.

  • It provides backup and recovery mechanisms to prevent data loss.

  • Examples of DBMS include Oracle, MySQL, SQL Server, and PostgreSQL.

View 1 answer

Q16. what is a foreign key?

Ans.

A foreign key is a column or set of columns in a database table that refers to the primary key of another table.

  • It establishes a link between two tables

  • It ensures referential integrity

  • It helps in maintaining data consistency

  • Example: CustomerID in Orders table refers to Customer table's primary key

View 1 answer

Q17. Difference between python and java.

Ans.

Python is a dynamically typed, interpreted language while Java is a statically typed, compiled language.

  • Python is easier to learn and write code quickly.

  • Java is more efficient and faster due to its compilation process.

  • Python is better for data analysis and machine learning while Java is better for enterprise applications.

  • Python has a simpler syntax and is more readable while Java has a more complex syntax.

  • Python has a larger library of pre-built modules while Java has a large...read more

View 1 answer

Q18. Write code for inorder triversal without using recursion.

Ans.

Iterative inorder traversal using a stack

  • Create an empty stack to store nodes

  • Initialize current node as root

  • While current is not null or stack is not empty, keep traversing left subtree and pushing nodes onto stack

  • Pop a node from stack, print its value, and set current to its right child

  • Repeat until all nodes are traversed

Add your answer

Q19. Find middle node in Linkedin List.

Ans.

To find the middle node in a linked list, use the slow and fast pointer approach.

  • Initialize two pointers, slow and fast, at the head of the linked list.

  • Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the list.

  • The node pointed to by the slow pointer at this point is the middle node.

Add your answer

Q20. Explain decorators in python

Ans.

Decorators in Python are functions that modify the behavior of other functions or methods.

  • Decorators are denoted by the @ symbol followed by the decorator function name.

  • They are commonly used for logging, timing, authentication, and more.

  • Decorators can be used to add functionality to existing functions without modifying their code.

  • They allow you to wrap another function in order to extend or modify its behavior.

  • An example of a decorator is the @staticmethod decorator in Pytho...read more

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 Graduate Engineer Trainee (Get) Interview Questions from Similar Companies

4.0
 • 36 Interview Questions
3.4
 • 25 Interview Questions
3.5
 • 17 Interview Questions
4.6
 • 11 Interview Questions
4.2
 • 10 Interview Questions
3.9
 • 10 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
Get AmbitionBox app

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