Tip 1 : Study CS Fundamentals
Tip 2 : Practice coding questions as many as you can
Tip 3 : Do make projects and mention them in your resume
Tip 1 : It should only be one page long
Tip 2 : Mention your projects in it
there were MCQ + coding question in this 13 CS Fundamentals Mcqs + 3 coding Questions



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".



Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]
Output: 11
Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Initialize the variables maxx = a[0] and currentmax = a[0] Run a for loop from 1 to N-1 and for each index I Add the arr[i] to currentmax. If maxx is less than currentmax then update maxx to currentmax.
If currentmax < a[i]+currentmax then update currentmax = a[i]
Return max_so_far
Which data structure allows deleting data elements from front and inserting at the rear?
Stacks
Queues
Dequeues
Binary search tree
queue
#include
void fun(int **p);
int main()
{
int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 8, 7, 8, 9, 0};
int *ptr;
ptr = &a[0][0];
fun(&ptr);
return 0;
}
void fun(int **p)
{
printf("%d\n", **p);
}
A. 1
B. 2
C. 3
D. 4
A) 1
I was given a problem statement that has to be solved using OOPs concepts. This round went around 1hr 45mins.
Design an online book reader system (Object-Oriented Design).
To design a basic online reading system that provides the following functionality:
• Searching the database of books and reading a book.
• User membership creation and extension.
• Only one active user at a time and only one active book by this user
The class OnlineReaderSystem represents the body of our program. We could implement
the class such that it stores information about all the books dealing with user management and refreshes the display, but that would make this class rather hefty. Instead, we’ve chosen to tear off these components into Library, UserManager, and Display classes.
The classes:
1. User
2. Book
3. Library
4. UserManager
5. Display
6. OnlineReaderSystem

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?