ayoubed.com
  • Home
  • Problem Solving
  • Software Engineering
  • Books
  • Betterment
  • Author
Sign in Subscribe

backtracking

A collection of 2 posts
Generate Self Descriptive Numbers
backtracking

Generate Self Descriptive Numbers

An integer is said to be self-descriptive if it has the property that, when digit positions are labeled 0 to N-1, the digit in each position is equal to the number of times that this digit appears in the number. Write a function that will generate all descriptive numbers with
06 Sep 2021 2 min read
Find if a string is a concatenation of dictionary words
problem-solving

Find if a string is a concatenation of dictionary words

I had an interview recently with a well known auto-related company(that's all I'm gonna say !). I thought I would share the problem that I faced, how I solved it during the interview, and another simpler solution I found while up solving afterwards. The Problem Given
04 Dec 2020 3 min read
Page 1 of 1
ayoubed.com © 2025
Powered by Ghost