Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Table of contents
1.
Introduction
2.
Problem Statement
3.
Solution
4.
Frequently Asked Questions
4.1.
What is a puzzle?
4.2.
How to solve a number sequence puzzle?
4.3.
What are the advantages of solving puzzles?
4.4.
What number will come next after 73 in the above question?
4.5.
Suggest other numbers in place of 60 from the sequence given above.
5.
Conclusion
Last Updated: Mar 27, 2024

Next Number

Author Aditya Singh
0 upvote
Interview Puzzles

Introduction

Puzzles are good exercise for the brain. They help in enhancing the cognitive abilities of the brain helping with Problem Solving and related skills. There are numerous types of puzzles; each one having a logic inherent to itself which helps in cracking it. A good puzzle well is actually like a good mystery that we may have read about or watched on TV. It has the finest of hints which help in reaching its solution.

The following article discusses one such puzzle so let's get right to it.

Problem Statement

What's the following number in this sequence:

10, 9, 60, 90, 70, 66, 96, 94, 98, ... ?

The answer is an integer. Just put the number without any decimal places if it's an integer. Suppose the answer is Infinity, output Infinity.

Solution

Let’s write these numbers in words and count the number of characters present:

Number

In Words

No. of Characters

10

Ten

3

9

Nine

4

60

Sixty

5

90

Ninety

6

70

Seventy

7

66

Sixty-Six

8

96

Ninety-Six

9

94

Ninety-Four

10

98

Ninety-Eight

11

?

?

?

 

From the above table, you can notice that these numbers are in ascending order of the number of characters present in each word. Hence the next number should have 12 characters because "98" contains 11 characters in word form.

There are multiple solutions to this problem like 73 (Seventy-Three), 78 (Seventy-Eight), and 77 (Seventy-Seven).

Therefore one of the sequences will be:

                              10, 9, 60, 90,70, 66, 96, 94,98, 73.

 
Also Read - Strong number in c

Frequently Asked Questions

What is a puzzle?

A puzzle is a game of words, toys, questions, etc., that helps in increasing our problem-solving ability.

How to solve a number sequence puzzle?

To solve a number sequence puzzle, first, find the pattern between numbers of the sequence. Once you know the pattern then you can find the next number of the sequence by following the same pattern.

What are the advantages of solving puzzles?

Solving puzzles enhance the problem-solving skills of a person. It also improves the logic building of a person.

What number will come next after 73 in the above question?

According to the pattern, the next number should have 13 characters. Hence the number can be 101 (One-Hundred-One), 102 (One-Hundred-Two), 110 (One-Hundred-Ten), etc.

Suggest other numbers in place of 60 from the sequence given above.

“60”(Sixty) contains 5 characters when written in words. Hence numbers that have 5 characters when written in words are 3 (Three), 7 (Seven), 8(Eight), etc.

Conclusion

In this article, we discussed the interview-based puzzle. The puzzle is based on finding the next number from the number sequence. We see the next missing number after analyzing the pattern from the series.

Recommended Readings:

 

We hope that blog has helped you enhance your knowledge regarding puzzle questions for interviews. Don't forget to check out 150-Interview-Puzzles to strengthen your problem-solving techniques. 

Do check out The Interview guide for Product Based Companies as well as some of the Popular Interview Problems from Top companies like Amazon, Adobe, Google, etc. on Coding Ninjas Studio.

Also check out some of the Guided Paths on topics such as Data Structure and Algorithms, Competitive Programming, Operating Systems, Computer Networks, DBMS, System Design, etc. as well as some Contests, Test Series, Interview Bundles, and some Interview Experiences curated by top Industry Experts only on Coding Ninjas Studio.

Please do upvote our blog to help other ninjas grow.

Happy Learning!

Live masterclass