237 lines
9.3 KiB
JSON
237 lines
9.3 KiB
JSON
{
|
|
"questions": [{
|
|
"question": "Time Complexity of Accessing Array Index (int a = ARR[5];)",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Inserting a node in Linked List",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Pushing and Popping on Stack",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Insertion and Removal from Queue",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Finding out the parent or left/right child of a node in a tree stored in Array",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Jumping to Next/Previous element in Doubly Linked List",
|
|
"answer": "O(1)"
|
|
}, {
|
|
"question": "Time Complexity of Traversing an array",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Traversing a linked list",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Linear Search",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Deletion of a specific element in a Linked List (Not sorted)",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Comparing two strings",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Checking for Palindrome",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Counting/Bucket Sort",
|
|
"answer": "O(n)"
|
|
}, {
|
|
"question": "Time Complexity of Binary Search",
|
|
"answer": "O(log n)"
|
|
}, {
|
|
"question": "Time Complexity of Finding largest/smallest number in a binary search tree",
|
|
"answer": "O(log n)"
|
|
}, {
|
|
"question": "Time Complexity of Certain Divide and Conquer Algorithms based on Linear functionality",
|
|
"answer": "O(log n)"
|
|
}, {
|
|
"question": "Time Complexity of Calculating Fibonacci Numbers - Best Method",
|
|
"answer": "O(log n)"
|
|
}, {
|
|
"question": "Time Complexity of Merge Sort",
|
|
"answer": "O(nlogn)"
|
|
}, {
|
|
"question": "Time Complexity of Heap Sort",
|
|
"answer": "O(nlogn)"
|
|
}, {
|
|
"question": "Time Complexity of Quick Sort",
|
|
"answer": "O(nlogn)"
|
|
}, {
|
|
"question": "Time Complexity of Certain Divide and Conquer Algorithms based on optimizing O(n^2) algorithms",
|
|
"answer": "O(nlogn)"
|
|
}, {
|
|
"question": "Time Complexity of Bubble Sort",
|
|
"answer": "O(n^2)"
|
|
}, {
|
|
"question": "Time Complexity of Insertion Sort",
|
|
"answer": "O(n^2)"
|
|
}, {
|
|
"question": "Time Complexity of Selection Sort",
|
|
"answer": "O(n^2)"
|
|
}, {
|
|
"question": "Time Complexity of Traversing a simple 2D array",
|
|
"answer": "O(n^2)"
|
|
}, {
|
|
"question": "Latency of L1 cache reference",
|
|
"answer": "0.5 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Branch mispredict",
|
|
"answer": "5 nanoseconds"
|
|
}, {
|
|
"question": "Latency of L2 cache reference",
|
|
"answer": "7 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Mutex lock/unlock",
|
|
"answer": "25 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Main memory reference",
|
|
"answer": "100 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Compressing 1K bytes with Zippy",
|
|
"answer": "3,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Sending 1K bytes over a 1 Gbps network",
|
|
"answer": "10,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Reading 4K randomly from SSD",
|
|
"answer": "150,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Reading 1 MB sequentially from memory",
|
|
"answer": "250,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of a Round trip within the same datacenter",
|
|
"answer": "500,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Reading 1 MB sequentially from SSD",
|
|
"answer": "1,000,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Disk seek",
|
|
"answer": "10,000,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Reading 1 MB sequentially from disk",
|
|
"answer": "20,000,000 nanoseconds"
|
|
}, {
|
|
"question": "Latency of Sending a packet from California to the Netherlands and back",
|
|
"answer": "150,000,000 nanoseconds"
|
|
}],
|
|
"steps": [
|
|
"In the spirit of keeping Free Code Camp 100% free, we've created directions for using a totally free pair programming tool called Team Viewer. It's not as user-friendly as Screen Hero, but it gets the job done (and works on Linux!).",
|
|
"Go to <a href='http://www.teamviewer.com/en/index.aspx' target='_blank'>http://www.teamviewer.com/en/index.aspx</a> and download Team Viewer. Be sure not to download the beta version, which isn't compatible with the current stable version everyone else will be using.",
|
|
"Install it and launch it",
|
|
"We have a special chat room for people ready to pair program. Go to <a href='https://gitter.im/FreeCodeCamp/LetsPair' target='_blank'>https://gitter.im/FreeCodeCamp/LetsPair</a> and type \"Hello Pair Programmers!\". you on a CoderByte challenge.",
|
|
"If someone is available, they will be your \"pair\" - the person you pair programming with.",
|
|
"<strong>First, you will pair program on your pair's computer.</strong> Ask your pair for his or her Team Viewer ID and password.",
|
|
"Enter this id, and then password, to start the session.",
|
|
"Once the Team Viewer session starts, look at the the top of the screen. You will see 6 buttons. If you hover your cursor over the buttons, they will slide down so that you can read them. Click the audio/video button. This will allow you to turn on Voice Over IP and unmute your microphone, opening up your voice channel.",
|
|
"Note that you can now control your pair's keyboard and mouse, enabling you to step in and code yourself on your pair's computer when desired",
|
|
"Now you can click the X to end the pair programming session.",
|
|
"<strong>Next, you will pair program on your computer.</strong> Copy your Team Viewer ID and paste it into the private chat, so that your pair can use it to connect with you.",
|
|
"You will need to share your randomly generated password with your pair as well.",
|
|
"Once your pair connects, you will see a Team Viewer side menu. ",
|
|
"Click the audio button that drops down.",
|
|
"Click the headset icon and choose Voice over IP",
|
|
"Click the microphone button to unmute your microphone. Once your pair does the same, you two will have an open voice channel.",
|
|
"Now you can click the X to end the pair programming session.",
|
|
"Now it's time to tackle CoderByte.",
|
|
"Create a CoderByte account at <a href='http://coderbyte.com/sl/' target='_blank'>http://coderbyte.com/sl/</a>",
|
|
"Now go to <a href='http://coderbyte.com/CodingArea/Challenges/#easyChals' target='_blank'>http://coderbyte.com/CodingArea/Challenges/#easyChals</a> and start working through Coderbyte's easy algorithm scripting challenges using JavaScript.",
|
|
"When you are finished pair programming, click the X to end the session.",
|
|
"Congratulations! You have completed your first pair programming session.",
|
|
"You should pair program with different Code Campers until you've completed all the Easy, Medium and Hard CoderByte challenges. This is a big time investment, but the JavaScript practice you'll get, along with the scripting and algorithm experience, are well worth it!",
|
|
"You can complete CoderByte problems while you continue to work through Free Code Camp's challenges.",
|
|
"Be sure to pair program on these challenges, and remember to apply the RSAP methodology.",
|
|
"Click the button below to return to the Pair Programming challenge, then mark it complete."
|
|
],
|
|
"verbs": [
|
|
"aced",
|
|
"nailed",
|
|
"rocked",
|
|
"scorched",
|
|
"devastated",
|
|
"destroyed",
|
|
"owned",
|
|
"crushed",
|
|
"conquered",
|
|
"killed",
|
|
"shredded",
|
|
"annihilated",
|
|
"nuked",
|
|
"smashed",
|
|
"decimated",
|
|
"demolished",
|
|
"devoured",
|
|
"pulvarized",
|
|
"banished",
|
|
"throttled",
|
|
"blew away",
|
|
"roundhoused",
|
|
"tangoed",
|
|
"wrangled",
|
|
"shot down",
|
|
"scarfed",
|
|
"grappled",
|
|
"incinerated",
|
|
"uppercutted"
|
|
],
|
|
"compliments": [
|
|
"You've got the power!",
|
|
"Nicely done!",
|
|
"Rock and roll!",
|
|
"High five!",
|
|
"Bravo!",
|
|
"Encore!",
|
|
"Challenge destroyed!",
|
|
"Power level 9000!",
|
|
"Most efficient!",
|
|
"Party on, Wayne!",
|
|
"You've got the touch!",
|
|
"You're on fire!",
|
|
"Don't hurt 'em, Hammer!",
|
|
"The town is now red",
|
|
"To the nines!",
|
|
"Nothing but net!",
|
|
"Grumpy cat approves",
|
|
"The world rejoices",
|
|
"That's the way it's done!",
|
|
"You rock!",
|
|
"Woo-hoo!",
|
|
"We knew you could do it",
|
|
"Hyper Combo Finish!",
|
|
"Nothing but net!",
|
|
"Boom-shakalaka!",
|
|
"You're a shooting star!",
|
|
"You're unstoppable!",
|
|
"Way cool!",
|
|
"You're king of the world!",
|
|
"Walk on that sunshine!",
|
|
"Keep on trucking!",
|
|
"Off the charts!",
|
|
"There is no spoon",
|
|
"Cranked it up to 11!",
|
|
"Escape velocity reached!",
|
|
"You make this look easy!",
|
|
"Passed with flying colors!",
|
|
"One step closer...",
|
|
"You've got this!",
|
|
"Happy happy joy joy!",
|
|
"Tomorrow, the world!",
|
|
"Here's looking at you, Code!",
|
|
"It's alive. It's alive!"
|
|
],
|
|
"phrases": [
|
|
"Shout it from on top of a mountain",
|
|
"Tell everyone and their dogs",
|
|
"Show them. Show them all!",
|
|
"Inspire your friends",
|
|
"Tell the world of your greatness",
|
|
"Look accomplished on social media",
|
|
"Share news of your grand endeavor",
|
|
"Establish your alibi for the past two hours",
|
|
"Prove to mom that computers aren't just for games",
|
|
"With coding power comes sharing responsibility",
|
|
"Have you told your friends of your coding powers?"
|
|
]
|
|
} |