aarucode2332's profile picture. Working On:  DSA || Software Development || AI/ML || Communication Skills.
Ready to get BURN for Programming Day and Night.
Age 17

Aaryan

@aarucode2332

Working On: DSA || Software Development || AI/ML || Communication Skills. Ready to get BURN for Programming Day and Night. Age 17

Pinned

Solved 7th array question of striver's DSA sheet. "Move all zeros to the end of the array" Solved with both Brute Force method as well as with optimal approach. TC(Brute Force) -> O(2n) SC(Brute Force) -> O(x) (x-> array of non-Zero elements) TC(optimal)->O(n) SC(optimal)->O(1)

aarucode2332's tweet image. Solved 7th array question of striver's DSA sheet.
"Move all zeros to the end of the array"
Solved with both Brute Force method as well as with optimal approach.

TC(Brute Force) -> O(2n)
SC(Brute Force) -> O(x)
(x-> array of non-Zero elements)

TC(optimal)->O(n)
SC(optimal)->O(1)
aarucode2332's tweet image. Solved 7th array question of striver's DSA sheet.
"Move all zeros to the end of the array"
Solved with both Brute Force method as well as with optimal approach.

TC(Brute Force) -> O(2n)
SC(Brute Force) -> O(x)
(x-> array of non-Zero elements)

TC(optimal)->O(n)
SC(optimal)->O(1)

Solved 6th array problem of Striver's DSA sheet "Rotate the array by d places". Used reverse function to solve this. TC - O(2n) SC - O(1)

aarucode2332's tweet image. Solved 6th array problem of Striver's DSA sheet 
"Rotate the array by d places".
Used reverse function to solve this.
TC - O(2n)
SC - O(1)

Solved 1 array question: - "Rotate an array by one " TC - O(n) SC - O(1)

aarucode2332's tweet image. Solved 1 array question: -
"Rotate an array by one "
TC - O(n)
SC - O(1)

Solved two questions: - 1. check if the array is sorted. 2. Remove duplicates from the sorted array. also Studied about their complexities.

aarucode2332's tweet image. Solved two questions: - 
1. check if the array is sorted.
2. Remove duplicates from the sorted array.
also Studied about their complexities.
aarucode2332's tweet image. Solved two questions: - 
1. check if the array is sorted.
2. Remove duplicates from the sorted array.
also Studied about their complexities.

Solved "second largest element in an array" through both better approach of time complexity O(2n) and optimal approach of time complexity of O(n).

aarucode2332's tweet image. Solved "second largest element in an array" through both better approach of time complexity O(2n) and optimal approach of time complexity of O(n).
aarucode2332's tweet image. Solved "second largest element in an array" through both better approach of time complexity O(2n) and optimal approach of time complexity of O(n).

Hey guys after completing the sorting portion now started with array problems. So today solved: - "Largest element in an array".

aarucode2332's tweet image. Hey guys after completing the sorting portion now started with array problems.
So today solved: -
"Largest element in an array".

Today Completed with Quick Sort. Learned about what is pivot and its basic rule is just Divide and Conquer. Time complexity: - O (N log N)

aarucode2332's tweet image. Today Completed with Quick Sort.
Learned about what is pivot and its basic rule is just Divide and Conquer.
Time complexity: - O (N log N)

Hey guys today just revised Insertion sort, selection sort and Merge sort.

aarucode2332's tweet image. Hey guys today just revised Insertion sort, selection sort and Merge sort.
aarucode2332's tweet image. Hey guys today just revised Insertion sort, selection sort and Merge sort.

Hey guys back with DSA after a long gap of 10-15 days 😪. Today done Merge Sort learned about role of recursion in merge sort also learned about its time and Space complexity. Read about this from gfg also.

aarucode2332's tweet image. Hey guys back with DSA after a long gap of 10-15 days 😪.
Today done Merge Sort learned about role of recursion in merge sort also learned about its time and Space complexity.  
Read about this from gfg also.

Hey guys today done a leetcode question. Maximum Product of 3 numbers.

aarucode2332's tweet image. Hey guys today done a leetcode question.
Maximum Product of 3 numbers.

Hey guys back with DSA topic of sorting. Today done "Insertion Sort". It's basically taking an element and placing it to its correct order.

aarucode2332's tweet image. Hey guys back with DSA topic of sorting.
Today done "Insertion Sort".
It's basically taking an element and placing it to its correct order.

Hey guys done with bubble sort today. Also learned about its time complexity worst O(n^2) and best-case O(n) when it is already in sorted order or in ascending order its time complexity will be linear.

aarucode2332's tweet image. Hey guys done with bubble sort today.
Also learned about its time complexity worst O(n^2) and best-case O(n) when it is already in sorted order or in ascending order its time complexity will be linear.

Hey guys today learned about selection sorting in C++.

aarucode2332's tweet image. Hey guys today learned about selection sorting in C++.

Hey guys solved one problem of leetcode. (Palindrome Number)

aarucode2332's tweet image. Hey guys solved one problem of leetcode.
(Palindrome Number)

Hey guys Happy Dussehra to all.. Today work done two questions of leetcode. 1.Ugly Number. 2. Divide two integers. Tooks some help in both questions but cracked the logic of the question. Mainly I am facing difficulties to write the correct code of the logic that I have cracked

aarucode2332's tweet image. Hey guys Happy Dussehra to all..
Today work done two questions of leetcode.
1.Ugly Number. 
2. Divide two integers.
Tooks some help in both questions but cracked the logic of the question.
Mainly I am facing difficulties to write the correct code of the logic that I have cracked
aarucode2332's tweet image. Hey guys Happy Dussehra to all..
Today work done two questions of leetcode.
1.Ugly Number. 
2. Divide two integers.
Tooks some help in both questions but cracked the logic of the question.
Mainly I am facing difficulties to write the correct code of the logic that I have cracked

Hey guys I am on the 6th week of the Nptel course of "Programming with generative AI". No such DSA and web dev today just college work and this course.


Hey guys solved 3 leetcode questions successfully. 1. Power of three. 2. Power of Four. 3. Count the digits that divide the number. All were of easy level. Solved them to gain confidence because yesterday I was not able to solve a single question even after spending 4-5 hrs🥲.

aarucode2332's tweet image. Hey guys solved 3 leetcode questions successfully.
1. Power of three.
2. Power of Four.
3. Count the digits that divide the number.
All were of easy level. Solved them to gain confidence because yesterday I was not able to solve a single question even after spending 4-5 hrs🥲.
aarucode2332's tweet image. Hey guys solved 3 leetcode questions successfully.
1. Power of three.
2. Power of Four.
3. Count the digits that divide the number.
All were of easy level. Solved them to gain confidence because yesterday I was not able to solve a single question even after spending 4-5 hrs🥲.
aarucode2332's tweet image. Hey guys solved 3 leetcode questions successfully.
1. Power of three.
2. Power of Four.
3. Count the digits that divide the number.
All were of easy level. Solved them to gain confidence because yesterday I was not able to solve a single question even after spending 4-5 hrs🥲.

Hey guys back to work again after college exams. Today Done: - 1. Revision of Recursion and solved its two problems of leetcode (Fibonacci and Power of Two). 2. Also learned about Tables in Html and read some documentation on it.

aarucode2332's tweet image. Hey guys back to work again after college exams.
Today Done: -
1. Revision of Recursion and solved its two problems of leetcode (Fibonacci and Power of Two).
2. Also learned about Tables in Html and read some documentation on it.
aarucode2332's tweet image. Hey guys back to work again after college exams.
Today Done: -
1. Revision of Recursion and solved its two problems of leetcode (Fibonacci and Power of Two).
2. Also learned about Tables in Html and read some documentation on it.
aarucode2332's tweet image. Hey guys back to work again after college exams.
Today Done: -
1. Revision of Recursion and solved its two problems of leetcode (Fibonacci and Power of Two).
2. Also learned about Tables in Html and read some documentation on it.

Hey guys stuck in Mid sem prep not able to post anything 😔 Continuing postings surely form Saturday.


Hey guys today I learned about links, href tags how to use id's to locate something and also learned about how to add images and what is the difference between image tag and picture tag .


United States Trends

Loading...

Something went wrong.


Something went wrong.