Given number of digits n, print all n-digit numbers whose absolute difference between sum of digits at even and odd positions is 1. Solution should… Read More »

#
All Expert Articles

Geek on the top is all about success stories of Geeks who are working hard to chase their goals and are inspiration for other geeks.… Read More »

Directi came to my college for Operations Engineer (DevOps ) profile. There was a presentation and PPT(pre-placement talk) through which we got a chance to… Read More »

Set 1 (Random Numbers, Arrays and Matrices) Generating Random Characters filter_none edit close play_arrow link brightness_4 code // A C++ Program to generate test cases… Read More »

Earlier i talked about namespaces in kernels and jailing process in this article. To understand this article, you may not require to finish the one… Read More »

The last day of a century cannot be: (A) Thursday (B) Monday (C) Wednesday (D) Sunday Answer: (A) Explanation: Quiz of this QuestionPlease comment below… Read More »

Give answer as— A. if only conclusion I is true. B. if only conclusion II is true. C. if either conclusion I or conclusion II… Read More »

Prerequisite: Creating a Proxy Webserver in Python – Set1 In this tutorial, few interesting features are added to make it more useful. Add blacklisting of… Read More »

A drum filled with a mixture of two liquids l1 and l2 in the ratio 5:7. When 9 liters of mixture is taken out and… Read More »

For a shirt cost price is Rs. 400. Shopkeeper prints a tag on it with Markup% = 20% to earn a profit of 7.5%. What… Read More »

A clock gains uniformly 5 min slow at 8 o’clock in the morning on Sunday and 5 min 48 sec fast at 8 pm on… Read More »

A Binary Search Tree (BST) stores values in the range 37 to 573. Consider the following sequence of keys. I. 81, 537, 102, 439, 285,… Read More »

Consider n jobs J1, J2,……Jn such that job Ji has execution time ti and a non-negative integer weight wi. The weighted mean completion time of… Read More »

What is the largest integer m such that every simple connected graph with n vertices and n edges contains at least m different spanning trees?… Read More »

An array X of n distinct integers is interpreted as a complete binary tree. The index of the first element of the array is 0.… Read More »

NOTE: Using an online compiler is not going to work here. Please install Python 2.7x and cv2, argparse modules to actually try out this example.… Read More »

6 men and 10 women were employed to make a road 360 km long. They were able to make 150 kilometres of road in 15… Read More »

Before we start working on any project, it is very important that we are very clear on what we want to do and how do… Read More »

What is the average case performance for Comb Sort? (Note: ‘i’ in the options is the number if increments) (A) Ω(n2 / i) (B) Ω(n2… Read More »

Consider the following languages. L1 = { <M> | M takes at least 2016 steps on some input}, L2 = { <M> | M takes… Read More »