π¨ Exciting News Alert! π¨
π Big Congrats to the December 2024 Scholarship Winners! π
π 60 incredible talents from Ethiopia have been awarded this golden opportunity to dive into the tech world and build a brighter future! π»π
π Donβt keep it to yourself! Share this announcement with your friends and familyβlet them celebrate with you and get inspired! πβ¨
#EvangadiTech #ScholarshipWinners #FutureInTech
Join πππ
ππ @AceCoding Presents! ππ
π The list of Evangadi Fullstack MERN Stack Scholarship Winners for the December 2024 Batch is out! πβ¨
π Big Congrats to the December 2024 Scholarship Winners! π
π 60 incredible talents from Ethiopia have been awarded this golden opportunity to dive into the tech world and build a brighter future! π»π
π Winners: Congratulations on this amazing milestone! Celebrate your hard work and dedication. ππ
π Donβt keep it to yourself! Share this announcement with your friends and familyβlet them celebrate with you and get inspired! πβ¨
#EvangadiTech #ScholarshipWinners #FutureInTech
Join πππ
ππ @AceCoding Presents! ππ
π5π1
Forwarded from A2SV - Community
π’ Announcement: A2SV G6 In-Person Application Update
Dear Applicants,
Thank you for submitting your applications for the A2SV G6 recruitment process. After carefully reviewing all submissions, we are excited to announce that the shortlist of candidates selected for interviews will be shared very soon! π Please check your emails regularly for updates. π§
Starting Monday, shortlisted candidates will be able to schedule their technical interviews. π
We highly recommend that you begin preparing for the technical interview to ensure your success. π The key topics to focus on include:
- Sorting
- Two Pointers
- Prefix Sum
- Sliding Window
- Stack & Queues
Best of luck to all applicants, and we look forward to meeting you during the interview process! πͺ
Sincerely,
The A2SV Team
Dear Applicants,
Thank you for submitting your applications for the A2SV G6 recruitment process. After carefully reviewing all submissions, we are excited to announce that the shortlist of candidates selected for interviews will be shared very soon! π Please check your emails regularly for updates. π§
Starting Monday, shortlisted candidates will be able to schedule their technical interviews. π
We highly recommend that you begin preparing for the technical interview to ensure your success. π The key topics to focus on include:
- Sorting
- Two Pointers
- Prefix Sum
- Sliding Window
- Stack & Queues
Best of luck to all applicants, and we look forward to meeting you during the interview process! πͺ
Sincerely,
The A2SV Team
A2SV Community Education __ Sliding Window Lecture.pdf
2.1 MB
β
A2SV Community Education Resources.π
π’ Very good resources for A2SV interview prep.
ππ @AceCoding Presents! ππ
π’ Very good resources for A2SV interview prep.
ππ @AceCoding Presents! ππ
Stacks, Queues and Monotonicity.pdf
1.5 MB
β
A2SV Community Education Resources.π
π’ Very good resources for A2SV interview prep.
ππ @AceCoding Presents! ππ
π’ Very good resources for A2SV interview prep.
ππ @AceCoding Presents! ππ
π1
Here are the resources for the topics covered so far. We've also linked them in the Resources tab of the Community Sheet
β’ Python Learning Path
β’ Time and Space Complexity Learning Path
β’ Sorting Learning Path
β’ Stack and Queue Learning Path
β’ Recursion Learning Path
β’ LinkedList Learning Path
β’ Sliding Window and Two Pointers Learning Path
β’ Prefix Sum Learning Path
β’ Heaps Learning Path
ππ @AceCoding Presents! ππ
β’ Python Learning Path
β’ Time and Space Complexity Learning Path
β’ Sorting Learning Path
β’ Stack and Queue Learning Path
β’ Recursion Learning Path
β’ LinkedList Learning Path
β’ Sliding Window and Two Pointers Learning Path
β’ Prefix Sum Learning Path
β’ Heaps Learning Path
ππ @AceCoding Presents! ππ
Google Docs
A2SV Community - Python Learning Path
Make a copy of this doc and go on at your own pace Python Learning Path Introduction
W3Schools GeeksforGeeks YouTube Python Doc Work on these questions from the sheet Basic Data Types
W3Schools GeeksforGeeks YouTube Python Doc Work on these questionsβ¦
W3Schools GeeksforGeeks YouTube Python Doc Work on these questions from the sheet Basic Data Types
W3Schools GeeksforGeeks YouTube Python Doc Work on these questionsβ¦
π’ Important Update for A2SV G6 In person Education Cohort!
If you've received an email from A2SV, congratulations! π Youβve been shortlisted for an interview for the A2SV G6 Cohort!
π Interviews Begin: on Tuesday
π Focus Areas: Make sure to prepare thoroughly on the topics mentioned in the email.
If you havenβt checked your email yet, go check it now and start your preparation! π¨
π @AceCoding Presents! π
If you've received an email from A2SV, congratulations! π Youβve been shortlisted for an interview for the A2SV G6 Cohort!
π Interviews Begin: on Tuesday
π Focus Areas: Make sure to prepare thoroughly on the topics mentioned in the email.
If you havenβt checked your email yet, go check it now and start your preparation! π¨
π @AceCoding Presents! π
π§ Python Quiz: Predict the Output
What will the output be? You can choose your answer below.
@AceCoding Presents!
arr = [[0]] * 5
print(arr)
arr[0][0] = 1
print(arr)
What will the output be? You can choose your answer below.
@AceCoding Presents!
For the above question.
Anonymous Quiz
53%
1οΈβ£ Option A: [[0], [0], [0], [0], [0]] and [[1], [0], [0], [0], [0]]
25%
2οΈβ£ Option B: [[0], [0], [0], [0], [0]] and [[1], [1], [1], [1], [1]]
9%
3οΈβ£ Option C: [[0]] [[1]]
13%
4οΈβ£ Option D: [[0], [0], [0], [0], [0]] Error: List index out of range
π5
β
Sliding window, Two pointers, and Hash Table problem
π‘ 567. Permutation in String
https://leetcode.com/problems/permutation-in-string/submissions/1482104785/
π @AceCoding Presents! π
π‘ 567. Permutation in String
https://leetcode.com/problems/permutation-in-string/submissions/1482104785/
π @AceCoding Presents! π
β
Dynamic Sliding window and hashmap / hashset problem.
This problem has a pattern that repeats a lot : worth revising
π‘ 3. Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
π @AceCoding Presents! π
This problem has a pattern that repeats a lot : worth revising
π‘ 3. Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
π @AceCoding Presents! π
π1
Substrings that begin and end with the same letter
You are given a 0-indexed string s consisting of only lowercase English letters. Return the number of substrings in s that begin and end with the same character.
A substring is a contiguous non-empty sequence of characters within a string.
Example 1:
Input: s = "abcba"
Output: 7
Explanation:
The substrings of length 1 that start and end with the same letter are: "a", "b", "c", "b", and "a".
The substring of length 3 that starts and ends with the same letter is: "bcb".
The substring of length 5 that starts and ends with the same letter is: "abcba" .
Example 2:
Input: s = "abacad"
Output: 9 112131
Explanation:
The substrings of length 1 that start and end with the same letter are: "a", "b", "a", "c", "a", and "d" = 6.
The substrings of length 3 that start and end with the same letter are: "aba" and "aca" = 2.
The substring of length 5 that starts and ends with the same letter is: "abaca" = 1.
Example 3:
Input: s = "a"
Output: 1
Explanation:
The substring of length 1 that starts and ends with the same letter is: "a".
Constraints:
1 <= s.length <= 105
s consists only of lowercase English letters.
You are given a 0-indexed string s consisting of only lowercase English letters. Return the number of substrings in s that begin and end with the same character.
A substring is a contiguous non-empty sequence of characters within a string.
Example 1:
Input: s = "abcba"
Output: 7
Explanation:
The substrings of length 1 that start and end with the same letter are: "a", "b", "c", "b", and "a".
The substring of length 3 that starts and ends with the same letter is: "bcb".
The substring of length 5 that starts and ends with the same letter is: "abcba" .
Example 2:
Input: s = "abacad"
Output: 9 112131
Explanation:
The substrings of length 1 that start and end with the same letter are: "a", "b", "a", "c", "a", and "d" = 6.
The substrings of length 3 that start and end with the same letter are: "aba" and "aca" = 2.
The substring of length 5 that starts and ends with the same letter is: "abaca" = 1.
Example 3:
Input: s = "a"
Output: 1
Explanation:
The substring of length 1 that starts and ends with the same letter is: "a".
Constraints:
1 <= s.length <= 105
s consists only of lowercase English letters.
< Ace Coding /> π
Substrings that begin and end with the same letter You are given a 0-indexed string s consisting of only lowercase English letters. Return the number of substrings in s that begin and end with the same character. A substring is a contiguous non-empty sequenceβ¦
question from today interview question
Question: Maximum Sum Score of an Array
You are given a 0-indexed integer array
β’ The sum of the first
β’ The sum of the last
Your task is to return the maximum sum score of
βExamples:
1. Input:
Output:
Explanation:
β’ At index 0: max(4, 4 + 3 - 2 + 5) = max(4, 10) = 10.
β’ At index 1: max(4 + 3, 3 - 2 + 5) = max(7, 6) = 7.
β’ At index 2: max(4 + 3 - 2, -2 + 5) = max(5, 3) = 5.
β’ At index 3: max(4 + 3 - 2 + 5, 5) = max(10, 5) = 10.
β’ The maximum sum score of
2. Input:
Output:
Explanation:
β’ At index 0: max(-3, -3 - 5) = max(-3, -8) = -3.
β’ At index 1: max(-3 - 5, -5) = max(-8, -5) = -5.
β’ The maximum sum score of
βChallenge:
Write a function
You are given a 0-indexed integer array
nums of length n. The sum score of nums at an index i (where 0 <= i < n) is defined as the maximum of:β’ The sum of the first
i + 1 elements of nums.β’ The sum of the last
n - i elements of nums.Your task is to return the maximum sum score of
nums at any index.βExamples:
1. Input:
nums = [4, 3, -2, 5] Output:
10 Explanation:
β’ At index 0: max(4, 4 + 3 - 2 + 5) = max(4, 10) = 10.
β’ At index 1: max(4 + 3, 3 - 2 + 5) = max(7, 6) = 7.
β’ At index 2: max(4 + 3 - 2, -2 + 5) = max(5, 3) = 5.
β’ At index 3: max(4 + 3 - 2 + 5, 5) = max(10, 5) = 10.
β’ The maximum sum score of
nums is 10.2. Input:
nums = [-3, -5] Output:
-3 Explanation:
β’ At index 0: max(-3, -3 - 5) = max(-3, -8) = -3.
β’ At index 1: max(-3 - 5, -5) = max(-8, -5) = -5.
β’ The maximum sum score of
nums is -3.βChallenge:
Write a function
maximumSumScore(nums) that takes an integer array as input and returns the maximum sum score.