VTULOOP

VTULOOP

Roman Number to Integer

Question – Given a string in roman no format (s)  your task is to convert it to an integer. Various symbols and their values are given below.I 1V 5X 10L 50C 100D 500M 1000 Example Give Input: s = V Expected…

Column Name of a given column number

Problem Statement – Given a positive integer, return its corresponding column title as appear in an Excel sheet. Excel columns has a pattern like A, B, C, … ,Z, AA, AB, AC,…. ,AZ, BA, BB, … ZZ, AAA, AAB …..…

Number of Good Pairs

Problem Statement – Given an array of integers nums, return the number of good pairs. A pair (i, j) is called good if nums[i] == nums[j] and i < j Logic

WhatsApp Icon Join For Job Alerts