PuzzlersWorld.com

  • Hacker Puzzle
  • Interview Puzzles
  • Number Puzzles
  • Maths Puzzles

Rotate an array by k elements

November 18, 2012 by puzzler Leave a Comment

Given an array of n elements, write an algorithm to rotate it right by k element without using any other array. In other words rotate an array in place. you can have temp variable to swap two elements. Ex:- Initial Array: A = {1, 2, 3, 4, 5, 6, 7, … [Continue reading]

Checkout more Interview Questions Tags: Array, Difficult, Interview, Solved Puzzles

Reverse a link list without using another

November 12, 2012 by asinghal 2 Comments

Reverse a Linked List

How to reverse a link list without using another link list? Note: Linked list is singly linked list (there is only next pointer no previous pointer). … [Continue reading]

Checkout more Interview Questions Tags: Interview, Linked List, medium, Solved Puzzles

Detect if there is a cycle in a linked list

November 4, 2012 by asinghal 1 Comment

How can you find if a given linked list has a cycle in it? Note: Linked list is singly linked list (there is only next pointer no previous pointer). … [Continue reading]

Checkout more Interview Questions Tags: Interview, Linked List, medium, Solved Puzzles

Find nth element from end of linked list

November 4, 2012 by asinghal Leave a Comment

How to find nth element from the end of the linked list? Or in other words Given an integer ‘n’, return a pointer to the n-th node from the end of the list. Note: Linked list is singly linked list (there is only next pointer no previous pointer). … [Continue reading]

Checkout more Interview Questions Tags: Amazon Interview Questions, Easy, Linked List, Solved Puzzles

Find middle element of linked list

November 4, 2012 by asinghal 1 Comment

How to Find the middle element of a linked list without traversing twice ? Linked list is singly linked list(there is only next pointer no previous pointer). … [Continue reading]

Checkout more Interview Questions Tags: Easy, Interview, Solved Puzzles

Divide a triangle into n triangles

November 3, 2012 by asinghal 6 Comments

divide a triangle into n triangles

How to divide a triangle into n equal area triangles ? … [Continue reading]

Checkout more Interview Puzzles Tags: Solved Puzzles

Swap two integer variables

November 3, 2012 by asinghal Leave a Comment

How to swap two integer variables without using the third variable ? … [Continue reading]

Checkout more Interview Questions Tags: Easy, Interview, Solved Puzzles

How to measure 4 gallon of water

November 1, 2012 by asinghal 2 Comments

How to measure exactly 4 gallon of water from 3 gallon and 5 gallon jars, Given, you have unlimited water supply from a running tap. It was also solved by Bruce Willis in one of his Die Hard movie to stop a bomb. … [Continue reading]

Checkout more Logical Puzzles Tags: Interview, medium, Solved Puzzles

Four How many squares are there

October 28, 2012 by asinghal 30 Comments

How many squares ?

1.) 2.) How many squares are in this picture ? … [Continue reading]

Checkout more Picture Puzzles Tags: How Many, How Many Squares, Puzzle, Solved Puzzles

Objective Questions set C/C++ – Part 5

October 28, 2012 by asinghal Leave a Comment

4 Objective type interview questions on C/C++ with answers Before you start:- You can check your answer by filling a,b,c,d or e in the text box. You can get the answer by clicking Give Up Button. Try yourself before giving up … [Continue reading]

Checkout more Interview Questions Tags: C/C++, Interview, Solved Puzzles

  • « Previous Page
  • 1
  • …
  • 103
  • 104
  • 105
  • 106
  • 107
  • …
  • 116
  • Next Page »
Submit your Puzzle

Categories

  • Aive hi Puzzles
  • Akbar and Birbal
  • Alphabetical Puzzles
  • Bollywood Puzzles
  • Google Code jam
  • Hindi Riddles
  • Interview Puzzles
  • Interview Questions
  • Logical Puzzles
  • Malayalam Puzzles
  • Maths Puzzles
  • Miscellaneous
  • Number Puzzles
  • Picture Puzzles
  • Riddles
  • Tamil Puzzles
  • Technical

Social

  • View puzzlersworld’s profile on Twitter
privacy policy

Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in

  • Hacker Puzzle
  • Logo Puzzles
  • Optical Illusions
  • WhatsApp Puzzles
  • Picture Puzzles
  • Riddles
    ▼
    • Hindi Riddles
  • Bollywood Puzzles
  • Alphabetical Puzzles
  • Aive hi Puzzles
  • Interview Puzzles
  • Logical Puzzles
  • Interview Questions
    ▼
    • Data Structures
    • Binary Tree
    • Algorithms
    • Recursion Questions
    • Amazon Interview Questions
    • Snapdeal Interview Questions
    • Google Code jam
  • Technical
  • Akbar and Birbal
  • Number Puzzles
  • Maths Puzzles
  • Miscellaneous