Posts

Showing posts from December, 2024

TCS vuejs interview

1.  let arr = [1,2,2,3,4,1,5,2] // [1,2,3,4,5] Remove duplicates // // function removeDuplicate(arr){   // //   return [...new Set(arr)] // // } // // console.log( removeDuplicate([1,2,2,3,4,1,5,2])) 2. let str = 'dl roWyM' //'My World'   3. const row1 = ['Black', 'Black', 'Green', 'Pink']; const row2 = ['Black', 'Yellow', 'Pink', 'White']; const row3 = ['Green', 'Orange', 'Black', 'White']; const row4 = ['Red', 'White', 'Yellow', 'Pink'];   // How many clusters of any given color & what is the cluster size of it?   // Expected Answer: Black: 3, Pink: 2, White: 2

Adobe interview

Vue.js and Frontend Concepts: Vue 2 to Vue 3 Conversion : Best practices for migrating from Vue 2 to Vue 3. Wake lock in Vue : What it is and its use cases. Vue Runtime Component Injection : How to create and inject Vue components dynamically into the DOM. Passing Data Between Components : Methods to pass data from child to parent and vice versa. Vue.js Version Used : Importance of versioning and how it impacts development. Web Accessibility: Accessibility Announcement : How to announce the number of items found during a search. Web Workers and Service Workers: Web Worker vs Service Worker vs Shared Worker : Differences, use cases, and best practices. Service Worker Communication : How service workers interact with the DOM. Web Bundling Tools : An overview of tools like Webpack. Importance of Code Splitting : How it improves performance. APIs and Authentication: JWT Token : Its purpose, usage, and implementation in API calls. Appending JWT Token in Requests : How to include JWT tokens ...