
Asked in Oracle
Write code to count the number of times '1' occurs from 1 to PHONE_NUMBER.

AnswerBot
2y
Code to count the number of times '1' occurs from 1 to 999999
Loop through all numbers from 1 to 999999
Convert each number to a string and count the number of '1's in it
Add the count to a running total...read more
Help your peers!
Add answer anonymously...
Top Application Developer Interview Questions Asked at Oracle
Q. Design a voting system.
Q. Design a flight system using a graph data structure.
Q. Given the heads of two singly linked-lists headA and headB, return the node at w...read more
Interview Questions Asked to Application Developer at Other Companies
Top Skill-Based Questions for Oracle Application Developer
Data Structures Interview Questions and Answers
250 Questions
Algorithms Interview Questions and Answers
250 Questions
Web Development Interview Questions and Answers
250 Questions
Java Interview Questions and Answers
250 Questions
Software Development Interview Questions and Answers
250 Questions
SQL Interview Questions and Answers
250 Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

