Quantcast
Channel: Geek
Browsing all 82 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

CodeVita 2017 Question: Chakravyuha

Problem: Chakravyuha During the battle of Mahabharat, when Arjuna was far away in the battlefield, Guru Drona made a Chakravyuha formation of the Kaurava army to capture Yudhisthir Maharaj. Abhimanyu,...

View Article


Image may be NSFW.
Clik here to view.

CodeVita 2017 Question: Colliding Canons

Problem: Colliding Canons

View Article


Image may be NSFW.
Clik here to view.

TCS CodeVita Previous years' question

Watch this Space for TCS CodeVita Previous years' question.I will be publishing most of the TCS CodeVita questions as and when I get. As I depend on you guys for the TCS CodeVita's questions so I...

View Article

Image may be NSFW.
Clik here to view.

MockVita 2018 Problem: Triangles

TrianglesProblem DescriptionA number (N) of lines (extending to infinity) in both directions are drawn on a plane. The lines are specified by the angle (positive or negative) made with the x-axis (in...

View Article

Image may be NSFW.
Clik here to view.

MockVita 2018 Problem: Largest Integer

Largest IntegerProblem DescriptionThe casino has introduced a new game in which there are M vertical chutes each containing N single digit (possibly zero) numbers. You can choose any chute and draw the...

View Article


MockVita 2018 Problem: Heights of Students

Heights of StudentsProblem DescriptionThere are a N students in a high school class. For simplicity, the students are named A, B, C, . . . (up to the Nth letter of the alphabet). No two students have...

View Article

MockVita 2018 Problem: Finding Products

Finding ProductProblem Description:You are given a set of N positive integers and two small prime numbers P and Q (not necessarily distinct). You need to write a program to count the number of subsets...

View Article

Image may be NSFW.
Clik here to view.

MockVita 2018 Problem: Orchard

OrchardProblem DescriptionThere is a large orchard containing apple trees that is coming up for sale. You want to bid for the same but you need to count the number of trees in the orchard so that you...

View Article


Image may be NSFW.
Clik here to view.

MockVita 2018 Problem: Lattice Disks

Lattice DisksProblem DescriptionConsider the lattice of circular disks each of which has center at a point (i, j), 0 <= i, j<=N, and radius 1/2. A convex polygonal line is drawn through the...

View Article


CodeVita 2018 Round 1 Question: String Rotation

String RotationProblem DescriptionRotate a given String in the specified direction by specified magnitude.After each rotation make a note of the first character of the rotated String, After all...

View Article

Image may be NSFW.
Clik here to view.

CodeVita 2018 Round 1 Question: Jurrasic Park

Jurrasic ParkProblem DescriptionSmilodon is a ferocious animal which used to live during the Pleistocene epoch (2.5 mya–10,000 years ago). Scientists successfully created few smilodons in an...

View Article

CodeVita 2018 Round 1 Question: Bank Compare

Bank CompareProblem DescriptionThere are two banks; Bank A and Bank B. Their interest rates vary. You have received offers from both bank in terms of annual rate of interest, tenure and variations of...

View Article

Image may be NSFW.
Clik here to view.

CodeVita 2018 Round 1 Question: Cross Words

Cross WordsProblem DescriptionA crossword puzzle is a square grid with black and blank squares, containing clue numbers (according to a set of rules) on some of the squares. The puzzle is solved by...

View Article


Image may be NSFW.
Clik here to view.

CodeVita 2018 Round 1 Question: Skateboard

SkateboardProblem DescriptionThe amusement park at Patagonia has introduced a new skateboard competition. The skating surface is a grid of N x N squares. Most squares are so constructed with slopes...

View Article

CodeVita 2018 Round 1 Question: Bride Hunting

Bride HuntingProblem DescriptionSam is an eligible bachelor. He decides to settle down in life and start a family. He goes bride hunting.He wants to marry a girl who has at least one of the 8 qualities...

View Article


CodeVita 2018 Round 1 Question: Codu And Sum Love

Codu And Sum LoveProblem Description```Scanner sc = new Scanner(System.in);long sum = 0;int N = sc.nextInt();for (int i = 0; i < N; i++) {final long x = sc.nextLong(); // read inputString str =...

View Article

CodeVita 2018 Round 1 Question: Date Time

Date TimeProblem DescriptionArun and his sister Usha are challenging each other with some mathematical puzzles. Usha, the cleverer one, has come up with the idea of givingArun 12 distinct digits from 0...

View Article


CodeVita 2018 Round 1 Question: Supertrend

SupertrendProblem DescriptionWrite a program to analyze and back test stock data to find total profit and buy / sell order price using super trend indicator formula.There is one indicator on chart data...

View Article

CodeVita 2018 Round 1 Question: On a Cube

On a CubeProblem DescriptionA solid cube of 10 cm x 10cm x 10 cm rests on the ground. It has a beetle on it, and some sweet honey spots at various locations on the surface of the cube.  The beetle...

View Article

Image may be NSFW.
Clik here to view.

CodeVita 2018 Round 1 Question: Wander Paths

Wander PathsProblem DescriptionThe city of Looneywalks has a rectangular grid of roads. One of the favorite pastimes of the folks at Looneywalks is to wander around the blocks. While they could take...

View Article
Browsing all 82 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>