Skip to content
프로젝트

teja963/Advanced-DSA-and-CS-Theory

GitHub에서 보기

소개

All the Concepts, Codes regarding DSA, Interview Preparation and Samsung SWC Test popular questions

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

All Concepts about DSA and Competitive Coding

  Contains Detailed Overview Solutions in their respective folders
  Conceptual Usage of Algorithms and their applications view 

Checking

 Array and integers
 while arthemetic operators check abt constraints
 if numbers check +ve, -ve, 0 and size_limit
 for solving problems check the case of 
 Integers values limit, duplicates(check need to avoid or include case)
   
 Strings
 check about the what kind of chars it involved and size, any leading or trailing spaces
 

Approach

If you have devised a method, first observe the base case (or smaller test cases) and check if it works.
Let's take a small example:

Factorial

  • Made the algorithm? ➡️ Go to base case.
  • Check if it works for the base case (like n=1 or n=0 in this case)
  • Fails? ➡️ Try again! Not giving up is the key!
  • Pass? ➡️ Try bigger examples or perhaps submit the code on the platform that you might be using for practice (like GFG or Leetcode)

Keypoints

Use memset for filling 0 or 1 in an array, and it won't work for any other values
  	you can use fill(begin(a), end(a), any value)  

관련 프로젝트 살펴보기

불러오는 중…