JobsJob TrackerJob alerts

TomTom · 9 questions

All 9Coding 8
  • Array Index Traversal and Perfect Squares CountCoding
  • Optimize Array Traversal and Distinct Pair DifferenceCoding
  • Write JSON for Empty Object and Employee Object
  • Correct Corrupted Gender Data in Employee TableCoding
  • Largest Sum Contiguous SubarrayCoding
  • Find duplicates in O(n) time and O(1) extra spaceCoding
  • Remove minimum characters to make two strings anagramsCoding
  • Detect loop in a linked listCoding
  • Sort a linked list of 0s, 1s and 2sCoding
← TomTom questions
  1. Interview questions
  2. TomTom
  3. Array Index Traversal and Perfect Squares Count
Coding

Array Index Traversal and Perfect Squares Count

Filed under TomTom

The question

Find the number of elements required to reach -1 starting from index 0 using array elements as indices, and count the number of perfect squares between range A and B inclusive.

No write-up yet. Related questions below have one.

Related TomTom questions

  • Optimize Array Traversal and Distinct Pair Difference
  • Correct Corrupted Gender Data in Employee Table
  • Remove minimum characters to make two strings anagrams
Optimize Array Traversal and Distinct Pair Difference →

Collected from public candidate posts and coding forums. Updated Nov 2026.