Skip to content

DSC-SCOE/DSC_Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DSC_Practice

Problem Statement for SE:

  1. Take length and breadth from user and calculate area of rectangle.
  2. Take radius from user and calculate area of circle.

Note:Write FUNCTIONS to calculate and call them from main instead of writing whole program in main.

Problem statement for TE and BE:

Given a string S, we can split S into 2 strings: S1 and S2. Return the number of ways S can be split such that the number of unique characters between S1 and S2 are the same.
Example 1:
Input: "aaaa"
Output: 3
Explanation: we can get a - aaa, aa - aa, aaa- a

Example 2:
Input: "bac
Output: 0

Note:Write FUNCTIONS to calculate and call them from main instead of writing whole program in main.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published