π The Ultimate DSA Mastery Series by Mosh Hamedani
π 4.9 - 200,000+ ratings
π° Original Price: $99
Taught by: Mosh Hamedani
π¦ GET FULL FREE ACCESS π DSA Mastery Series
π½ JOIN FOR MORE: @AceCoding
#Code_with_Mosh_DSA_Mastery_Series #The_Ultimate_DSA_Mastery_Series #code_with_mosh
π 4.9 - 200,000+ ratings
π° Original Price: $99
π¬ Master Data Structures and Algorithms with 250 lessons and 20+ hours of in-depth content. From arrays and linked lists to advanced algorithms like dynamic programming and graph traversal, this course covers everything you need to ace technical interviews and improve your problem-solving skills. Learn with real-world coding challenges and hands-on exercises.
Taught by: Mosh Hamedani
π¦ GET FULL FREE ACCESS π DSA Mastery Series
π½ JOIN FOR MORE: @AceCoding
#Code_with_Mosh_DSA_Mastery_Series #The_Ultimate_DSA_Mastery_Series #code_with_mosh
π The Ultimate HTML & CSS Mastery Series by Mosh Hamedani
π 4.8 - 170,000+ ratings
π° Original Price: $80
Taught by: Mosh Hamedani
π¦ GET FULL FREE ACCESS π HTML & CSS Mastery Series
π½ JOIN FOR MORE: @AceCoding
#Code_with_Mosh_HTML_CSS_Mastery_Series #The_Ultimate_HTML_CSS_Mastery_Series #code_with_mosh
π 4.8 - 170,000+ ratings
π° Original Price: $80
π¬ Master HTML & CSS with 200 lessons and 15+ hours of video content. This course covers everything from the basics of web design to advanced CSS techniques. Learn to build responsive, modern websites with hands-on projects and real-world examples using HTML5, CSS3, Flexbox, Grid, and more.
Taught by: Mosh Hamedani
π¦ GET FULL FREE ACCESS π HTML & CSS Mastery Series
π½ JOIN FOR MORE: @AceCoding
#Code_with_Mosh_HTML_CSS_Mastery_Series #The_Ultimate_HTML_CSS_Mastery_Series #code_with_mosh
π The Complete Full Stack Developer 2024 by Angela Yu
π 4.9 - 300,000+ ratings
π° Original Price: $99
Taught by: Dr. Angela Yu
π¦ GET FULL FREE ACCESS π Full Stack Developer 2024
π½ JOIN FOR MORE: @AceCoding
#Angela_Yu_Full_Stack_2024 #Complete_Full_Stack_Developer #code_with_angela
π 4.9 - 300,000+ ratings
π° Original Price: $99
π¬ Become a Full Stack Developer with 400+ lessons and 50+ hours of detailed content. This course covers everything from front-end to back-end development, including HTML, CSS, JavaScript, Node.js, Express, MongoDB, React, and more. Gain hands-on experience by building real-world projects and prepare yourself for a successful career in web development.
Taught by: Dr. Angela Yu
π¦ GET FULL FREE ACCESS π Full Stack Developer 2024
π½ JOIN FOR MORE: @AceCoding
#Angela_Yu_Full_Stack_2024 #Complete_Full_Stack_Developer #code_with_angela
β€2
β
ππ C++ Assignment from Kombolcha Institute of Technology
π¨βπ» You can find the detailed solutions on GitHub: π Check it out here!
These solutions were created in response to a request from a student at the university. If you're a second-year software engineering student (related field), or a pre-engineering student and you're looking for some assistance with your studies, or if you have any questions, please feel free to reach out to us! We are more than happy to help out π
π» Share and Join for more at @AceCoding
π¨βπ» You can find the detailed solutions on GitHub: π Check it out here!
These solutions were created in response to a request from a student at the university. If you're a second-year software engineering student (related field), or a pre-engineering student and you're looking for some assistance with your studies, or if you have any questions, please feel free to reach out to us! We are more than happy to help out π
π» Share and Join for more at @AceCoding
π5
ππ Welcome to the Ultimate DSA Boot Camp!
Get ready for an immersive journey into the world of Data Structures and Algorithms! Whether you're gearing up for coding interviews π§βπ», tackling a DSA course π, or preparing to ACE your next big exam π―, this is the place to be.
π¦ Whatβs coming your way?
π₯ Super helpful notes
β Brain-teasing questions
π‘ Pro tips to conquer DSA with confidence!
Stay tuned, stay curious, and letβs turn DSA from daunting to doable. π― Let's ace it together!
ππ @AceCoding Presents! ππ
π You wouldn't want to miss this adventure; let's make it happen together! π
Get ready for an immersive journey into the world of Data Structures and Algorithms! Whether you're gearing up for coding interviews π§βπ», tackling a DSA course π, or preparing to ACE your next big exam π―, this is the place to be.
π¦ Whatβs coming your way?
π₯ Super helpful notes
β Brain-teasing questions
π‘ Pro tips to conquer DSA with confidence!
Stay tuned, stay curious, and letβs turn DSA from daunting to doable. π― Let's ace it together!
ππ @AceCoding Presents! ππ
π You wouldn't want to miss this adventure; let's make it happen together! π
π4
grokking-algorithms-illustrated-programmers-curious.pdf
24.8 MB
ππ Ace Coding: Your DSA Starting Line!
β Just starting out with Data Structures and Algorithms (DSA)? This is the guide you need!
π Before diving into dense academic notes, check out this super beginner-friendly, step-by-step resource. Perfect for absolute beginnersβno prior experience needed! It's designed to make learning DSA feel fun and easy.
π‘ Get ready to build your coding confidence with @AceCoding!
πShare and Join for more!!!
β Just starting out with Data Structures and Algorithms (DSA)? This is the guide you need!
π Before diving into dense academic notes, check out this super beginner-friendly, step-by-step resource. Perfect for absolute beginnersβno prior experience needed! It's designed to make learning DSA feel fun and easy.
π‘ Get ready to build your coding confidence with @AceCoding!
πShare and Join for more!!!
π2
π¨ Grokking Algorithms is in the building! π¨
β Both the latest 2023 (MEAP) Edition and the Legacy Editions are here!
Get ready to learn algorithms the easy way! π With fun visuals and simple explanations, this book makes DSA a breeze. Perfect for beginners or anyone looking to sharpen their skills.
Letβs get grokking! πβ¨
β Both the latest 2023 (MEAP) Edition and the Legacy Editions are here!
I haven't finished it yet, but this book is outstanding. Highly recommend diving in; itβs worth every page.
Get ready to learn algorithms the easy way! π With fun visuals and simple explanations, this book makes DSA a breeze. Perfect for beginners or anyone looking to sharpen their skills.
Letβs get grokking! πβ¨
π¨π Attention DSA Gurus and Pros! ππ¨
If youβre a master at DSA or looking to sharpen your skills, check out these two MONSTER books! πͺπΉ
You may already know them, but for those who donβt, let me introduce you! These books are packed with in-depth knowledge and details. πβ¨
Quick tip: Donβt feel like you have to read every pageβuse them to brush up on specific topics! Thereβs no need to finish them cover to cover, or youβll just end up with too much info to remember. π§ π¨
Dive in and get ready to level up! ππ₯
ππ @AceCoding Presents! ππ GET THE BOOKSπ
If youβre a master at DSA or looking to sharpen your skills, check out these two MONSTER books! πͺπΉ
You may already know them, but for those who donβt, let me introduce you! These books are packed with in-depth knowledge and details. πβ¨
Quick tip: Donβt feel like you have to read every pageβuse them to brush up on specific topics! Thereβs no need to finish them cover to cover, or youβll just end up with too much info to remember. π§ π¨
Dive in and get ready to level up! ππ₯
ππ @AceCoding Presents! ππ GET THE BOOKSπ
π₯3πΏ1
ππ€ Stay Tuned! π€π
Weβre cooking up a storm with exciting news, questions, and super useful resources just for you! π₯π
π΄Donβt keep it to yourself share the loveπ»!
π’Spread the word π to your friends and anyone who could use a boost in their coding journey. Letβs grow together! π
Weβre cooking up a storm with exciting news, questions, and super useful resources just for you! π₯π
π΄Donβt keep it to yourself share the loveπ»!
π’Spread the word π to your friends and anyone who could use a boost in their coding journey. Letβs grow together! π
π1π1
Audio
π DSA Intro Audio π§
Boost your learning by engaging multiple senses! Weβre excited to share a high-quality audio introduction to Data Structures & Algorithms. Perfect for listening anytime, anywhere.
π‘ Sources:
β¨ A2SV notes
π Grokking Algorithms
π Cracking the Coding Interview
π Class Notes (Ch. 1 & 2)
π Codeforces & HackerRank
π» GeeksForGeeks
π Dive in and make studying more immersive and effective! π
ππ @AceCoding Presents! ππ
Boost your learning by engaging multiple senses! Weβre excited to share a high-quality audio introduction to Data Structures & Algorithms. Perfect for listening anytime, anywhere.
π‘ Sources:
β¨ A2SV notes
π Grokking Algorithms
π Cracking the Coding Interview
π Class Notes (Ch. 1 & 2)
π Codeforces & HackerRank
π» GeeksForGeeks
π Dive in and make studying more immersive and effective! π
ππ @AceCoding Presents! ππ
π1
< Ace Coding /> π
https://www.hackerrank.com/challenges/insertionsort1/problem
β
First try the question by yourself and then try to compare your solution with mine:
#!/bin/python3
import math
import os
import random
import re
import sys
#
# Complete the 'insertionSort1' function below.
#
# The function accepts following parameters:
# 1. INTEGER n
# 2. INTEGER_ARRAY arr
#
def insertionSort1(n, arr):
# Write your code here
for i in range(n):
j = i
curr = arr[i]
if curr < arr[j-1]:
while j > 0 and curr < arr[j-1]:
arr[j]= arr[j-1]
j-=1
print(*arr)
if j != i:
arr[j] = curr
print(*arr)
if __name__ == '__main__':
n = int(input().strip())
arr = list(map(int, input().rstrip().split()))
insertionSort1(n, arr)
π2
β
π» Here is a C++ implementation for the above question.
#include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string &);
vector<string> split(const string &);
/*
* Complete the 'insertionSort1' function below.
*
* The function accepts following parameters:
* 1. INTEGER n
* 2. INTEGER_ARRAY arr
*/
void insertionSort1(int n, vector<int> arr) {
for (int i = 1; i < n; i++) {
int curr = arr[i];
int j = i;
if (curr < arr[j - 1]) {
while (j > 0 && curr < arr[j - 1]) {
arr[j] = arr[j - 1];
j--;
for (int k = 0; k < n; k++) {
cout << arr[k] << " ";
}
cout << endl;
}
if (j != i) {
arr[j] = curr;
for (int k = 0; k < n; k++) {
cout << arr[k] << " ";
}
cout << endl;
}
}
}
}
int main()
{
string n_temp;
getline(cin, n_temp);
int n = stoi(ltrim(rtrim(n_temp)));
string arr_temp_temp;
getline(cin, arr_temp_temp);
vector<string> arr_temp = split(rtrim(arr_temp_temp));
vector<int> arr(n);
for (int i = 0; i < n; i++) {
int arr_item = stoi(arr_temp[i]);
arr[i] = arr_item;
}
insertionSort1(n, arr);
return 0;
}
string ltrim(const string &str) {
string s(str);
s.erase(
s.begin(),
find_if(s.begin(), s.end(), not1(ptr_fun<int, int>(isspace)))
);
return s;
}
string rtrim(const string &str) {
string s(str);
s.erase(
find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(),
s.end()
);
return s;
}
vector<string> split(const string &str) {
vector<string> tokens;
string::size_type start = 0;
string::size_type end = 0;
while ((end = str.find(" ", start)) != string::npos) {
tokens.push_back(str.substr(start, end - start));
start = end + 1;
}
tokens.push_back(str.substr(start));
return tokens;
}
π1