Algorithm (Thinking Before Coding) INSERTION SORT👈
1.Assume first element is already sorted
2.Take next element (key)
3.Compare it with previous elements
4.Shift bigger elements to the right
5.Insert the key in correct position
6.Repeat
1.Assume first element is already sorted
2.Take next element (key)
3.Compare it with previous elements
4.Shift bigger elements to the right
5.Insert the key in correct position
6.Repeat
Do you know that why Merge Sort is preferable to bubble, insertion, and selection sorts? But why? Its best-case and worst-case time complexities are O(n log n). It can handle larger tasks, whereas those other algorithms cannot because they are less efficient, even though the program doesn't favor them, unlike quicksort and mergesort. 😮💨 here i've solved leetcode problem. https://leetcode.com/problems/sort-an-array/submissions/1977309399/
LeetCode
Sort an Array - LeetCode
Can you solve this real interview question? Sort an Array - Given an array of integers nums, sort the array in ascending order and return it.
You must solve the problem without using any built-in functions in O(nlog(n)) time complexity and with the smallest…
You must solve the problem without using any built-in functions in O(nlog(n)) time complexity and with the smallest…
👍1
Good Evening guys☺️ in this night am about to focus on studying LINKEDLIST and solving leetcode problem in C++
Oh am of mind to solve longest repeating substring without repeating characters [3 Leetcode]
I have watched about 10+videos but still ain't understand the point
😒
I have watched about 10+videos but still ain't understand the point
😒
Here today's leetcode problem solved https://leetcode.com/problems/longest-substring-without-repeating-characters/submissions/1978627253/
LeetCode
Longest Substring Without Repeating Characters - LeetCode
Can you solve this real interview question? Longest Substring Without Repeating Characters - Given a string s, find the length of the longest substring without duplicate characters.
Example 1:
Input: s = "abcabcbb"
Output: 3
Explanation: The answer…
Example 1:
Input: s = "abcabcbb"
Output: 3
Explanation: The answer…
I've covered Deletion & Insertion but this was not easy it was challenging😒 But if u've patience u can succeed🎉
Good Morning buddies🌅 how are u doing
Am hanged with DSA assignment
That is so many questions
Am hanged with DSA assignment
That is so many questions
And guys, many times I haven't been active on LeetCode, and for that matter, I lose many chances again and again, like A2SV. However, for the past four days, I thought, "What if I start solving DSA problems as long as my study continues?" So today, I'm going to focus on `MEDIAN OF TWO SORTED ARRAY`. It's a hard question, but no matter what, watching videos and other resources is supportive.✅
👍1
SamiTech Code pinned «And guys, many times I haven't been active on LeetCode, and for that matter, I lose many chances again and again, like A2SV. However, for the past four days, I thought, "What if I start solving DSA problems as long as my study continues?" So today, I'm going…»
Take a look my lovely brother❤️
https://www.instagram.com/reel/DXQzARXqhRZ/?igsh=eno4c3M5Nmwzd3Zi
https://www.instagram.com/reel/DXQzARXqhRZ/?igsh=eno4c3M5Nmwzd3Zi
https://t.me/samitechforum
Hey guys how are u all I'm okay Thanks God You know in this telegram channel we're doing our best like learning, posting vlog, & etc So in today, I have created new group that contains separated topics where everyone can engaged to it. This group includes library, discussion, Daily English, Funny, Challenges, Announcements So feel free to join this group let's do the best.
Telegram
SamiTech Forum
Hey am Sami Cs students passionate about tech. Let's learn together and teach others 👈
❤1
Forwarded from Sami
MONKEYTYPE 1ST CHALLENGE
Check both speed & acc👇👇
👌Do u wanna try it check out 👇👇👇👇👇
monkeytype.com👈👈👈
Check both speed & acc👇👇
72 wpm 100%accuracy
73 wpm, 100%accuracy
74 wpm, 97> >
78 wpm, 97> >
63 wpm, 92> >
75 wpm, 96> >
78 wpm, 98> >
78 wpm, 99> >
80 wpm, 98> >
77 wpm, 96> >
81 wpm, 98> >
81 wpm, 99> >
62 wpm, 91> >
74 wpm, 96> >
74 wpm, 93> >
75 wpm, 94> >
77 wpm, 96> >
81 wpm, 97> >
👌Do u wanna try it check out 👇👇👇👇👇
monkeytype.com👈👈👈
Monkeytype
Monkeytype | A minimalistic, customizable typing test
The most customizable typing test website with a minimal design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
👍1
Hey buddies how are u all
What am gonna do in this night🤔
LinkedList
👉Definition of it,
👉Single linkedlist,
👉Double >,
👉Circular >
Do u wanna study with me?👇
During this interchange idea,
Questions,Solving problem
Click the link below and join the group we'll discuss it there👇
https://t.me/samitechforum/19
What am gonna do in this night🤔
LinkedList
👉Definition of it,
👉Single linkedlist,
👉Double >,
👉Circular >
Do u wanna study with me?👇
During this interchange idea,
Questions,Solving problem
Click the link below and join the group we'll discuss it there👇
https://t.me/samitechforum/19