JobsJob TrackerJob alerts

Fastenal ยท 11 questions

All 11Coding 8Low-Level Design 1Behavioral 2
  • Explain a major web-based projectBehavioral
  • LeetCode Hard DSA problemCoding
  • SQL Query with JOIN and GROUP BYCoding
  • OOPS pillars and abstract class vs interfaceLow-Level Design
  • Find Largest Distance Between Character OccurrencesCoding
  • Count Distinct PasswordsCoding
  • Find Pair with Target Sum in ArrayCoding
  • Binary Search Tree Insertion and SearchingCoding
  • Simple String Coding QuestionCoding
  • Core Subjects, C++ and Chat Application SegregationCoding
  • Background, Pandemic Situation, and Company MotivationBehavioral
โ† Fastenal questions
  1. Interview questions
  2. Fastenal
  3. Count Distinct Passwords
CodingMedium

Count Distinct Passwords

Filed under Fastenal

The question

Given a list of passwords made of lowercase letters, count how many distinct passwords exist, where two passwords are considered the same if one can be obtained by swapping the i-th and j-th character when (i+j)%2==0.

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

Related Fastenal questions

  • LeetCode Hard DSA problem
  • SQL Query with JOIN and GROUP BY
  • Find Largest Distance Between Character Occurrences
  • Binary Search Tree Insertion and Searching
  • Simple String Coding Question
โ† Find Largest Distance Between Character OccurrencesFind Pair with Target Sum in Array โ†’

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