Pavithran K
data science
Introduction
4 Projects
Project
Code submitted below
09 Aug 2022 07:00 AM IST
Project 1
1. public class EquilibriumPoint { int findEquilibrium(int [] A, int n){ int sum = 0; // initialize sum of whole array int leftsum = 0; // initialize leftsum /* Find sum of the whole array */ for (int i = 0; i < n; ++i){ sum += A[i]; } for (int i = 0; i < n; ++i) { sum -= A[i]; // sum is now right sum for index i if (leftsum…
07 Sep 2022 02:26 PM IST
Project 2
1. public class SubarrayWithSum { private static void FindSubArrayWithSumS(int[] arr, int s) { int sum = 0; int left, right; left = right = 0; for(int i = 0; i s){ sum -= arr[left]; left++; } // when sum becomes equal to our target sum, we return the indices if(sum == s){ System.out.println(left + " " + right); break;…
13 Sep 2022 11:27 AM IST
Project 2
1. public class SubarrayWithSum { private static void FindSubArrayWithSumS(int[] arr, int s) { int sum = 0; int left, right; left = right = 0; for(int i = 0; i s){ sum -= arr[left]; left++; } // when sum becomes equal to our target sum, we return the indices if(sum == s){ System.out.println(left + " " + right); break;…
15 Sep 2022 06:08 AM IST
3 Course Certificates
Academic Qualification
B.E
sri eshwar college of engineering
01 Aug 2016 - 31 Aug 2020
12th
PKD Matric. Hr. Sec. School
01 Jul 2015 - 01 Jul 2016
10th
P.K.D Matric Higher Secondary School
02 Jul 2013 - 01 Jul 2014
Here are the courses that I have enrolled
Similar Profiles
Ladder of success cannot be climbed with hands in pocket.
The Future in Motion
Give more than what you get you will get more than what you gave
Avid learner