About

This is Vivek Vikram Singh. Currently pursuing Master Of Engineering in Computer Science stream from BITS, Pilani. I strongly believe in contribution-based education and helping out fellow/upcoming graduates with the experience I have. I have shared my written and interview experience in various known institutes/ PSUs for my M.Tech. admission in 2014 Find me on my blog at: https://vivekvsingh14.wordpress.com/

Role

Alma Mater:

Master of Engineering
Birla Institute of Technology and Science, Pilani
2014 to 2016
Bachelor of Engineering
Bansal Institute of Science and Technology, Bhopal
2009 to 2013

Experience:

Intern
EMC Corporation
2016
ASE
EMC Corporation
2016
TudLead
Example text
1 year 10 months ago

A = O(nlogn), B= O(n)

It is very trivial if you know the complexity concepts.

n=O(nlogn)

moreless
TudLead
Answer
1 year 10 months ago

#include #include int main() { int i; for (i=0; i<3; i++) { pid_t pid = fork(); if (pid == 0) printf("parent:[%d] current:[%d] i=%d\n", getppid(), getpid(), i); else printf("FORK Failed for current: %d\n", getpid()); printf("*\n"); } printf("HI \n"); return 0; }

moreless
TudLead
Answer
1 year 10 months ago

Tricky problem.

Please search for Fork() bomb.

moreless
narayanapot's picture
Lakshminarayana Potukuchi
virtualgate's picture
Virtual GATE
priyesh's picture
Priyesh Priyatam
ranita's picture
Ranita Biswas
pritam's picture
Pritam Prasun
pritam's picture
Pritam Prasun
905
Rajeev
914
priyesh's picture
Priyesh Priyatam
923
Himanshi
976
mnlcht's picture
jhilik
979
pshall's picture
shailendra joshi
998
maheshkumars's picture
Mahesh Kumar
1017
chandanchawda's picture
Chandan Chawda
1019
kaushalmaurya's picture
kaushal
1022
shabinmuhammed's picture
Shabin Muhammed
1065
tar_gate's picture
TarGate
1165
vineetkumar's picture
vineet
1238
rahulkumar's picture
Rahul Kumar
1246
kalpishsinghal's picture
Kalpish Singhal
1474
targetgate's picture
Target Gate
1518

Pages

Data is given in "bits" . And generally problems are given in half duplex. It is default as this question.

more less

Given Keys (of coaching,on their printed material ) can be wrong. They are sometimes. A healthy discussion leads to the correct answer. Author of Question.

more less

Guys, for better syntax on Questions, use tools(above) given in Answer/ Question box. 2^n can be easily written as 2n using toolbox above. Better reading. If tool is already given, why not to use it.

more less

Yes, it is quite ambiguous how did they take ,just 1 more operation ?Can you provide the source here? Link?

more less

I hope you got clear picture from Pritam's answer. For additional discussion, this link might be helpful http://www.techtud.com/computer-science/database-management-system#overlay=doubt/what-best-way-prepar

more less
16 Jun 2015 - 5:47pm

Arul's explanation is good. A is always correct. You need to understand that set of values in B is subset of set of values in C i.e. B ⊆ C. Subtracting superset from Subset will always yield ∅.

more less

The question is bit ambiguous. When they matter?? In what context you are asking? Any particular algorithm,function,program or anything else?

more less
12 Jun 2015 - 11:54pm

With above mentioned points, I would like to add a few more : Parameter passing, Bit theory about programming languages (University course on principle of programming languages), Strings and Arrays etc.

more less

Pages