Skip to content
All Medium Articles
Given the language L = {ab, aa, baa}, which of the following strings are in L*? 1) abaabaaabaa 2) aaaabaaaa 3) baaaaabaaaab 4) baaaaabaa (A)… Read More
Which of the following statements are TRUE about an SQL query? P : An SQL query can contain a HAVING clause even if it does… Read More
Which of the following is FALSE about abstract classes in Java (A) If we derive an abstract class and do not implement all the abstract… Read More
#include<iostream> using namespace std;    class Base1 { public:     char c; };    class Base2 { public:     int c; };    class Derived: public Base1,… Read More
#include<iostream> using namespace std;    class Base { public :     int x, y; public:     Base(int i, int j){ x = i; y = j; }… Read More
class Base {     public static void show() {        System.out.println("Base::show() called");     } }     class Derived extends Base {     public static void show() {        System.out.println("Derived::show() called");… Read More
#include <iostream> using namespace std;    class Test {   static int count;   int id; public:   Test() {     count++;     id = count;     cout << "Constructing object… Read More
#include <iostream> using namespace std;    int main() {     try     {         try         {             throw 20;         }         catch (int n)         {             cout << "Inner Catch\n";             throw;… Read More
Hi, I had Flipkart interviews for SDE 1. I would like to share my experience. Online Coding Round (1 hour 30 minutes): On interviewstreet, there… Read More
There are n bikes and each can cover 100 km when fully fueled. What is the maximum amount of distance you can go using n… Read More
Hi, I have interviewed for Flipkart SDE 2 role 2 months back. I want to share interview experience with other geeks. Telephonic Interview (45 minutes)… Read More
We introduced Travelling Salesman Problem and discussed Naive and Dynamic Programming Solutions for the problem in the previous post,. Both of the solutions are infeasible.… Read More
Hi All. Here is my interview experience for internship at Amazon. Position: 2-Month Intern No. of Rounds: 1 Online + 2 PI (2 F2F) Round… Read More
In each round they ask me why I want to join amazon, why I am leaving my previous company with such a short span(around 2.5… Read More
A tourist covers half of his journey by train at 60 km/h, half of the remainder by bus at 30 km/h and the rest by… Read More
Out of all the 2-digit integers between 1 and 100, a 2-digit number has to be selected at random. What is the probability that the… Read More
A computer uses 46-bit virtual address, 32-bit physical address, and a three-level paged page table organization. The page table base register stores the base address… Read More
The following code segment is executed on a processor which allows only register operands in its instructions. Each instruction can have atmost two source operands… Read More
(A) A (B) B (C) C (D) D Answer: (A) (D) Explanation:   Given statement is : ¬ ∃ x ( ∀y(α) ∧ ∀z(β) )… Read More
Consider the following operation along with Enqueue and Dequeue operations on queues, where k is a global parameter. MultiDequeue(Q){ m = k while (Q is… Read More