Skip to content

PrepBytes Blog

ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING

Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Data Structure
    • Languages
    • Algorithms
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Queue
      • Segment Tree
      • Stack
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String

Tag: recursion

Recursion Interview Programming

Generate all Pairs of 0 and 1

prepbytes_articlesJune 10, 2020March 23, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given N pairs of Binary Numbers 0 and 1, your task is to generate all possible combinations such that for each 0...
Recursion Interview Programming

Substring Start End Same

ShailyJune 10, 2020March 31, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a string S, print the count of all contiguous substrings that start and end at the same character. For Example: Input...
Recursion Interview Programming

Shubhaluxumy loves Binary Number

ShailyJune 10, 2020March 25, 2022
CONCEPTS USED: Binary Search DIFFICULTY LEVEL: Medium PROBLEM STATEMENT(SIMPLIFIED): Given two numbers N(number of rows) and I(index of a row), such that given a 0 in the 1st row and...
Recursion Competitive Programming

Range Even

DeepanshuJune 10, 2020March 30, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a number N, your task is to print all even numbers (>0) from 1 to N using recursion. See original problem...
Recursion Interview Programming

Matrix and combination

DeepanshuJune 10, 2020March 29, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Medium PROBLEM STATEMENT(SIMPLIFIED): Given a matrix M*N containing only lowercase english alphabets, your task is to select elements from the first row one by one,...
Recursion Interview Programming

Mike and Binary Number

DeepanshuJune 10, 2020March 23, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Medium PROBLEM STATEMENT(SIMPLIFIED): Given a number N, your task is to print all possible permutations of its Binary Representation. NOTE : Print the output in...
Recursion Interview Programming

Check Palindrome

DeepanshuJune 10, 2020March 28, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a number N, check whether the number is palindrome or not using recursion. The palindrome number remains the same when its...
Recursion Interview Programming

Sum of Sequence

ShailyJune 10, 2020April 1, 2022
CONCEPTS USED: Collatz conjecture DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a positive number N, write a recursive function and sum all the number until N reaches to 1 after performing...
Recursion Interview Programming

Pragya and Gold Medalist

ShailyJune 10, 2020March 28, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Medium PROBLEM STATEMENT(SIMPLIFIED): Given two strings S1 and S2, print the count of all their Interleaving Strings. NOTE: Interleaving String is a string that has...
Recursion Interview Programming

Print the Pattern

DeepanshuJune 10, 2020March 25, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a number N, print its decreasing sequence (i.e. keep subtracting by 5) till it reaches (<=0) and then print its increasing...
Recursion Interview Programming

PERMUSEQ

ShailyJune 10, 2020March 25, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given a sorted array A containing N distinct elements, your task is to find the Mth permutation of the given array. For...
Recursion Interview Programming

First Capital Using Recursion

DeepanshuJune 10, 2020March 23, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given a String T, find the 1st occurrence of the capital (uppercase) alphabet. Print its index if present, else -1. See original...
Recursion Interview Programming

POWERLEX

ShailyJune 10, 2020March 22, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given a string, write a recursive code to print all subsets of it. The subsets are to be printed in lexicographical(alphabetic) order....
Recursion Interview Programming

Mike and Exam

DeepanshuJune 10, 2020March 30, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Medium PROBLEM STATEMENT(SIMPLIFIED): Given an array containing N elements and an integer K, find the number of ways to calculate the value of K using...
Recursion Interview Programming

Multiplication of Digits

DeepanshuJune 10, 2020March 30, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Easy PROBLEM STATEMENT(SIMPLIFIED): Given an integer N, recursively find the multiplication of digits of N modulus with 10^9+7. See original problem statement here For Example:...
Recursion Interview Programming

N Digit Sum

DeepanshuJune 10, 2020March 25, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given a digit N and an integer Sum, print all the N-digit integers whose digit sum is equal to the given Sum....
Recursion Interview Programming

N Digit Sum Even Odd

DeepanshuJune 10, 2020March 25, 2022
CONCEPTS USED: Recursion DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given an integer N, print all N-digit numbers with sum of digits at Even index equal to sum of digits at Odd...

Categories

Pages

  • #8536 (no title)
  • ACCENTURE
  • ADOBE
  • ALGORITHMS
  • AMDOCS
  • APPLE
  • ARRAY
  • ARRAY COMPETITIVE CODING QUESTIONS
  • ARRAY INTERVIEW QUESTIONS
  • BACKTRACKING
  • BACKTRACKING COMPETITIVE CODING QUESTIONS
  • BACKTRACKING INTERVIEW QUESTIONS
  • BYJU’S
  • C INTERVIEW QUESTIONS
  • C PROGRAMMING LANGUAGE
  • C++ INTERVIEW QUESTIONS
  • C++ PROGRAMMING LANGUAGE
  • COMPANY PLACEMENT PROCEDURE
  • COMPETITIVE CODING
  • COMPUTATIONAL GEOMETRY
  • COMPUTATIONAL GEOMETRY COMPETITIVE CODING QUESTIONS
  • CSE SUBJECTS
  • DATA STRUCTURE
  • DELL
  • DESHAW
  • DYNAMIC PROGRAMMING
  • DYNAMIC PROGRAMMING COMPETITIVE CODING QUESTIONS
  • DYNAMIC PROGRAMMING INTERVIEW QUESTIONS
  • FACEBOOK
  • FLIPKART
  • GAME THEORY
  • GAME THEORY COMPETITIVE CODING QUESTIONS
  • General Interview Questions
  • GOLDMAN SACHS
  • GOOGLE
  • GRAPH COMPETITIVE CODING QUESTIONS
  • GRAPH INTERVIEW QUESTIONS
  • GRAPHS
  • GREEDY ALGORITHM
  • GREEDY ALGORITHM COMPETITIVE CODING QUESTIONS
  • GREEDY ALGORITHM INTERVIEW QUESTIONS
  • HASHING
  • HCL
  • HEAP
  • HEAP COMPETITIVE CODING QUESTIONS
  • HEAP INTERVIEW QUESTIONS
  • INFOSYS
  • INTERVIEW PREPARATION
  • INTERVIEW TIPS
  • INTUIT
  • JAVA INTERVIEW QUESTIONS
  • JAVA PROGRAMMING LANGUAGE
  • JAVASCRIPT PROGRAMMING LANGUAGE
  • JUSPAY
  • LINKED LIST
  • LINKED LIST INTERVIEW QUESTIONS
  • MAHINDRA COMVIVA
  • MAKEMYTRIP
  • MATHEMATICS
  • MATHEMATICS COMPETITIVE CODING QUESTIONS
  • MATHEMATICS INTERVIEW QUESTIONS
  • MICROSOFT
  • NAGARRO
  • OPERATING SYSTEM
  • ORACLE
  • OTHER TOPICS
  • PAYTM
  • Pin Posts
  • POINTERS
  • POINTERS COMPETITIVE CODING QUESTIONS
  • PROGRAMMING LANGUAGE
  • PYTHON PROGRAMMING LANGUAGE
  • QUALCOMM
  • QUEUE
  • QUEUE COMPETITIVE CODING QUESTIONS
  • QUEUE INTERVIEW QUESTIONS
  • RECURSION
  • RECURSION COMPETITIVE CODING QUESTIONS
  • RECURSION INTERVIEW QUESTIONS
  • SAMSUNG
  • SAP LABS
  • SEARCHING
  • SEARCHING COMPETITIVE CODING QUESTIONS
  • SEARCHING INTERVIEW QUESTIONS
  • SEGMENT TREE
  • SEGMENT TREE COMPETITIVE CODING QUESTIONS
  • SEGMENT TREE INTERVIEW QUESTIONS
  • SORTING
  • SORTING COMPETITIVE CODING QUESTIONS
  • SORTING INTERVIEW QUESTIONS
  • STACK
  • STACK COMPETITIVE CODING QUESTIONS
  • STACK INTERVIEW QUESTIONS
  • STRING
  • STRING COMPETITIVE CODING QUESTIONS
  • STRING INTERVIEW QUESTIONS
  • TCS
  • TREE COMPETITIVE CODING QUESTIONS
  • TREE INTERVIEW QUESTIONS
  • TREES
  • TRIES COMPETITIVE CODING QUESTIONS
  • WIPRO
  • ZOHO CORP
Close
Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Data Structure
    • Languages
    • Algorithms
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Queue
      • Segment Tree
      • Stack
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String
FOLLOW US
CONTACT US
+91-8800 2588 17
contact@prepbytes.com
QUICK LINKS
Interview NotesMock TestsPlacement ProgrammeCoding CoursesMock InterviewAbout UsBlog