Skip to content
All Medium Articles
Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data… Read More
The binary operation c is defined as follows P Q PcQ T T T T F T F T F F F T Which one… Read More
For the composition table of a cyclic group shown below *Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with… Read More
S -> aSa|bSb|a|b; The language generated by the above grammar over the alphabet {a,b} is the set of (A) All palindromes (B) All odd length… Read More
What is the chromatic number of an n-vertex simple connected graph which does not contain any odd length cycle? Assume n >= 2. (A) 2… Read More
Output of following Java program? import java.util.Arrays; class Test {     public static void main (String[] args)      {         int arr1[] = {1, 2, 3};         int arr2[]… Read More
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find… Read More
Output of following C program? #include<stdio.h> #define max abc #define abc 100    int main() {     printf("maximum is %d", max);     return 0; } (A) maximum… Read More
It is recommended to refer following post as prerequisite of this post.Splay Tree | Set 1 (Search)As discussed in the previous post, Splay tree is… Read More
The worst case time complexity of Binary Search Tree (BST) operations like search, delete, insert is O(n). The worst case occurs when the tree is… Read More
Which of the following is/are true about constructors in Java? 1) Constructor name should be same as class name. 2) If you don't define a… Read More
class Test {    public static void main(String args[]) {      int arr[2];        System.out.println(arr[0]);      System.out.println(arr[1]);    } } (A) 0 0 (B) garbage value garbage value (C) Compiler… Read More
Like Merge Sort, QuickSort is a Divide and Conquer algorithm. It picks an element as pivot and partitions the given array around the picked pivot.… Read More
  This article introduces the concept of polymorphism and virtual functions, and their use in inheritance. We’ll cover the following Definitions Without Virtual Functions Using… Read More
Can destructors be virtual in C++? (A) Yes (B) No Answer: (A) Explanation: See of this Question My Personal Notes arrow_drop_up Save
Predict the output of following C++ programTake a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and… Read More
Pattern: written + 3 Tech Interview + 1HR Type: Online cgpa criteria: NO Written exam Modules: 2hrs (no -ve marking) 1. Coding skills(comprehension oriented) 2.… Read More
The problem is to print all the possible paths from top left to bottom right of a mXn matrix with the constraints that from each… Read More
Given a positive integer n, generate all possible unique ways to represent n as sum of positive integers.  Examples: Attention reader! Don’t stop learning now. Get… Read More
My on campus interview experience of Oracle Server Technology. Online Round: At first we had an online exam for shortlisting for final interview process. This… Read More