Notes
Notes - notes.io |
[] - Given a binary tree and two nodes, find if the two nodes are cousins or not
[] - char frequency in string
[] - Add 1 Linked List
[] - Implement getElementById
[] - Find unique pairs of sum in array of unsorted array. Eg [4,3,1,2,5] Sum = 5 o/p (1,4)(2,3)
[] - linked list as 1 -> 2 -> 3 -> 4 -> 5 -> null. Node head reference is at 3, not at first element, delete 3 from the list.
[] - Difference in array elements (can contain duplicates) when rotated.
[] - Find maximum element from huge number of elements which can be solved using max heap.
[] - Recursive method to reverse a string
[] - Find kth largest element in a stream of numbers
[] - implement timeout mechanism for async calls
[] - Reject the async call once the request has reached a certain timeout.
[] - Find the loop in linked list
[] - How to find the node starting the loop.
[] - Find the first duplicate in the array having numbers. Eg [1,4,2,4,5,2] o/p: 4
[] - Generate all substrings from a string
[] - Write code for merge sort
[] - Maximum product of two numbers in an array.
[] - Flatten deep nested object :
const nestedData = {
name: 'Abc',
age: '29',
address: {
pincode: '110011',
area: 'bangalore',
state: 'karnataka',
location: {
lat: '122.21',
long: '11.21'
},
phone: '1212121'
}
}
o/p:
const op = {
"nestedData_name": "Abc",
"nestedData_age": "29",
"nestedData_address_pincode": "110011",
"nestedData_address_area": "bangalore",
"nestedData_address_state": "karnataka",
"nestedData_address_location_lat": "122.21",
"nestedData_address_phone": "1212121"
}
|
Notes is a web-based application for online 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 14 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