ADOBE CS I/II Round 1 DS ALGO #adobe

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2021-07-31Added By Anonymous
Source: Link

Round 1:

→Intro about my working experience


DS ALGO:


1)Given an integer N, the task is to obtain M, starting from N using minimum number of operations. The operations that can be performed in one step are as follows:

•Multiply the number by 2.
•subtract by 1


Find min number of operations to obtain M from N .


2)valid parenthesis

({)}— bad

({})-good

Comments