Problem : You are given a positive integer num consisting only of digits 6 and 9 . Return the maximum number you can get by changing at most one digit ( 6 becomes 9 , and 9 becomes 6 ) . Example 1: Input: num …
Problem You are given a 0-indexed array nums of size n consisting of non-negative integers. You need to apply n - 1 operations to this array where, in the i th operation ( 0-indexed ), you will apply the…
Problem Chef is a software developer, so he has to switch between different languages sometimes. Each programming language has some features, which are represented by integers here. Currently, Chef has to use a language with two…