NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Swap every other element in a linked list. e.g. a->b->c->d becomes b->a->d->c


https://algorithmsandme.in/2014/02/25/least-recently-used-cache/

https://algorithmsandme.in/2015/01/11/removing-duplicates-from-an-array-of-integers/

https://algorithmsandme.in/2014/03/10/find-subset-with-given-sum-subset-sum-problem/

https://algorithmsandme.in/2017/08/27/dynamic-programming-matrix-chain-multiplication-2/

https://algorithmsandme.in/2014/03/26/arrays-event-scheduling-problem/

https://algorithmsandme.in/2014/03/18/binary-search-tree-trick-questions/

Check if a number is prime or not

Print first 1000 prime numbers

---------------

Arrays
Remove, Search, Range Search, insert position, Rotate, Search in rotated, Max subarray, Set Matrix, Pascal’s Triangle, 2 Sum, 3 Sum, Single number, Intersection, Majority, Duplicates, Missing, Consecutive sequence, valid sudoku, plus one
Sorting
Bubble, Insertion, Counting, Quick, Merge
Heap
Kth largest in array, Kth smallest in matrix, Median, Ugly Number, Super Ugly Number
Strings
Reverse, First unique char, anagram, pallindrome, last word, common prefix, substring without repeating chars,
Numbers
Pallindrome, Power, Sqrt, Reverse, Happy number, Guess number, Next permutation, single
Linked Lists
Delete, Reverse, Remove, Cycle, Reverse range, Rotate, Partition, Merge, Swap Node, Add, Add one, Remove duplicates, Pallindrome, Odd-even
Binary Trees
Max depth, Min depth, Invert, Same, LCA, Level order, Inorder, Preorder, Postorder, Balanced, Symmetric, Validate, Paths, Path sum, Max path sum, Right side view, Flatten to linked list, Kth smallest, Next Right
Graphs
Islands
Dynamic Programming
Climb Stairs, House Robber, Combination Sum, Palindromic Substring, Max product subarray, Frog Jump, Coin Change, Unique Paths, LIS, minimum path sum
Design
Chess, Twitter, LRU cache, Swimming Pool, Payment Gateway, ATM

-----------


https://www.careercup.com/question?id=6259418600570880
https://www.careercup.com/question?id=5645741191069696
https://www.careercup.com/question?id=5759456221593600



Find the Minimum length Unsorted Subarray, sorting which makes the complete array sorted
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.