Minimum characters to be added at front to make string palindrome || GeeksforGeeks || POTD

  Рет қаралды 13,738

TechWithSaumya

TechWithSaumya

Жыл бұрын

Minimum characters to be added at front to make string palindrome || GeeksforGeeks || POTD
Join us at telegram: telegram.me/placement_phodenge
Twitter : / awasthi__
LinkedIn :
Problem (GFG) : practice.geeksforgeeks.org/pr...
CODE LINK : github.com/Saum112/GFGCodingQ...
#CodingInterview #GFGPractice #GeeksforGeeks #PracticeProblems #CodingQuestions #leetcode #coding #programming #coding #bfs #graphs #graph #djikstra #gfg #programming #coding #dsa #stack #queue #tree #bst #heap #maxheap #dfs #bfs #backtracking #queue #trees

Пікірлер: 60
@mayankrastogi7035
@mayankrastogi7035 Жыл бұрын
This logic giving TLE in c++
@ayushbhandarkar8394
@ayushbhandarkar8394 Жыл бұрын
The above approach is a O(n^2) solution,
@parzival_rex_1509
@parzival_rex_1509 Жыл бұрын
@Study with Saumya , try submitting it.
@hackcrack4689
@hackcrack4689 Жыл бұрын
I'm new in dsa and i got your explaination very easily can you please make a video on how to learn dsa like any roadmap...
@techgianttechyforever
@techgianttechyforever Жыл бұрын
whats time complexity of your code ?
@user-fq8wt9wd3m
@user-fq8wt9wd3m Жыл бұрын
TC is O(n^2). if we use KMP algo then TC will O(n).
@rishabhsinha7250
@rishabhsinha7250
This can be solved using LPS array in O(n) time
@ashwinnair1035
@ashwinnair1035
TLE mam please tell us how to optimize this code
@rahilsanghavi9347
@rahilsanghavi9347 Жыл бұрын
Why does the same code in C++ give TLE?
@anuragsinghal8451
@anuragsinghal8451
How can you surely say that answer will be n-(length of LPS)
@awesome_latest_virals6098
@awesome_latest_virals6098 Жыл бұрын
TLE.......please upload the optimised approach
@raviprakashyadav3741
@raviprakashyadav3741 Жыл бұрын
In Video you said- answer will be length of (N - longest palindromic substring).
@mohdrehan5332
@mohdrehan5332
Time complexity is O(n^2). It will give TLE. :(
@vijayanks1714
@vijayanks1714 Жыл бұрын
can any one provide the test case that fail bcz of TLE
@abhishekkumargupta3605
@abhishekkumargupta3605
Don't you think your code time complexity is O(n^2) in the worst case..
@prateekramani6491
@prateekramani6491 Жыл бұрын
How easily u solved this question is Amazing !!
@kushagrasinghsisodia9380
@kushagrasinghsisodia9380 Жыл бұрын
TLE this solution is not optimised
@jagadishkilli835
@jagadishkilli835 Жыл бұрын
Carryon mam like this... It will help us a lot.. And thnq so much mam
@ShivamSingh-ne3en
@ShivamSingh-ne3en Жыл бұрын
i watched 4 to 5 videos on this problem but i was not satisfied with the solutions there or they seemed difficult but now i am satisfied..best explanation👍
@user-ys3bm3yh6q
@user-ys3bm3yh6q
Aap bhee striver ke student ho ?:I hope u all are doing extremely well !!
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 22 МЛН
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 633 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 64 М.
32  Minimum number of insertion in a string to make it a palindrome
13:13
Starting Competitive Programming - Steps and Mistakes
9:55
William Lin
Рет қаралды 1,4 МЛН
Modified Numbers and Queries || GeeksforGeeks || POTD
10:37
TechWithSaumya
Рет қаралды 649
Big-O Notation - For Coding Interviews
20:38
NeetCode
Рет қаралды 441 М.
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 777 М.
I Made My Own Programming Language
10:20
CodeNoodles
Рет қаралды 86 М.
Towers of Hanoi: A Complete Recursive Visualization
21:13
Reducible
Рет қаралды 452 М.